commit | 50094223b687458f7ae9089bac76196d6ca296f3 | [log] [tgz] |
---|---|---|
author | Hiroshige Hayashizaki <hiroshige@chromium.org> | Wed Aug 01 04:44:27 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Aug 01 04:44:27 2018 |
tree | 7c8d1c8022463b38f72b8c649cadf9561da62414 | |
parent | 38f920aa1b6e8ffcc4cb7756313f2c118422c0f8 [diff] |
Remove dependency from WorkerThreadDebugger to global scope's Url() Previously, WorkerThreadDebugger::ContextCreated() sets V8ContextInfo using global scope's Url(). However, After [1] Url() can be null when the global scope is created and thus ContextCreated() can't use Url(). This CL uses |GlobalScopeCreationParams::script_url| instead. This CL shouldn't change the behavior, because currently global scope's Url() is equal to |GlobalScopeCreationParams::script_url|. [1] https://chromium-review.googlesource.com/1139074 Bug: 866666, 861564 Change-Id: Ic19a87d77c4b01d3f850e51ce734dae11e1b4e44 Reviewed-on: https://chromium-review.googlesource.com/1139052 Reviewed-by: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> Reviewed-by: Kentaro Hara <haraken@chromium.org> Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org> Reviewed-by: Hiroki Nakagawa <nhiroki@chromium.org> Commit-Queue: Hiroshige Hayashizaki <hiroshige@chromium.org> Cr-Commit-Position: refs/heads/master@{#579702}
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 .