commit | 945431d84342213951f61cadde27c5192fac1f70 | [log] [tgz] |
---|---|---|
author | Hiroshige Hayashizaki <[email protected]> | Fri Dec 08 19:33:00 2017 |
committer | Commit Bot <[email protected]> | Fri Dec 08 19:33:00 2017 |
tree | 2ebfbebc681828ee7e62dba1e24e59aa26b9b728 | |
parent | 06ce6dc33aa499fe190b06399fc70ca34cdc1569 [diff] |
Replace ScriptSourceCode::GetResource() with CacheHandler() As a result of preceding refactoring CLs, ScriptSourceCode::GetResource() is no longer used, except for getting its cache handler. This CL removes GetResource() and instead introduces ScriptSourceCode::CacheHandler(), to make it clearer that ScriptSourceCode has all necessary information for compilation, evaluation and code caching, without relying on ScriptResource. Where CachedMetadataHandler was given separately, this CL sets the CachedMetadataHandler to ScriptSourceCode and removes the separate CachedMetadataHandler arguments. Bug: 788828, 686281 Change-Id: I19555cafa7637bbb2289e9085baadd400e9987dd Reviewed-on: https://chromium-review.googlesource.com/791493 Commit-Queue: Hiroshige Hayashizaki <[email protected]> Reviewed-by: Kouhei Ueno <[email protected]> Reviewed-by: Jeremy Roman <[email protected]> Cr-Commit-Position: refs/heads/master@{#522841}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .