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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/V8BindingForTesting.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/V8BindingForTesting.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/V8BindingForTesting.cpp b/third_party/WebKit/Source/bindings/core/v8/V8BindingForTesting.cpp
index 88c5594c80b64d7af7e3118e7a1d1c04158e8713..692c7987920bd5fc4862a77f38b128224da2db8f 100644
--- a/third_party/WebKit/Source/bindings/core/v8/V8BindingForTesting.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/V8BindingForTesting.cpp
@@ -44,7 +44,7 @@ V8TestingScope::V8TestingScope()
}
ScriptState* V8TestingScope::getScriptState() const {
- return ScriptState::forMainWorld(m_holder->document().frame());
+ return toScriptStateForMainWorld(m_holder->document().frame());
}
ExecutionContext* V8TestingScope::getExecutionContext() const {

Powered by Google App Engine
This is Rietveld 408576698