Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(405)

Unified Diff: third_party/WebKit/Source/bindings/core/v8/ScriptPromisePropertyTest.cpp

Issue 2796653003: Move ScriptState::forWorld/ScriptState::forMainWorld (Part 2) (Closed)
Patch Set: Rebase Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/bindings/core/v8/ScriptPromisePropertyTest.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptPromisePropertyTest.cpp b/third_party/WebKit/Source/bindings/core/v8/ScriptPromisePropertyTest.cpp
index a288368cffec12c6d83b924d531fe5e3adfd9369..a38b2b13d2e690f7e976cc5a1f21d53922cf3a91 100644
--- a/third_party/WebKit/Source/bindings/core/v8/ScriptPromisePropertyTest.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/ScriptPromisePropertyTest.cpp
@@ -110,7 +110,7 @@ class ScriptPromisePropertyTestBase {
Document& document() { return m_page->document(); }
v8::Isolate* isolate() { return toIsolate(&document()); }
ScriptState* mainScriptState() {
- return ScriptState::forMainWorld(document().frame());
+ return toScriptStateForMainWorld(document().frame());
}
DOMWrapperWorld& mainWorld() { return mainScriptState()->world(); }
ScriptState* otherScriptState() { return m_otherScriptState.get(); }

Powered by Google App Engine
This is Rietveld 408576698