[blink] Clean up ModuleScriptCreationParam
Instead of mutating the const ref, we copy the params object in JSModuleScript::Create when clearing the source text. Introduce ModuleScriptFetcher::NotifyFetchFinishedError and ModuleScriptFetcher::NotifyFetchFinishedSuccess to make it clearer which arguments are used. Bug: 1154943 Change-Id: I4ed2ca75e56c8cbefb8d49c11e77d1846ce43f16 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2571877 Commit-Queue: Camillo Bruni <cbruni@chromium.org> Reviewed-by:Hiroshige Hayashizaki <hiroshige@chromium.org> Reviewed-by:
Kouhei Ueno <kouhei@chromium.org> Cr-Commit-Position: refs/heads/master@{#837978}
Showing
Please register or sign in to comment