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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/ScriptPromiseResolverTest.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/ScriptPromiseResolverTest.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptPromiseResolverTest.cpp b/third_party/WebKit/Source/bindings/core/v8/ScriptPromiseResolverTest.cpp
index 92df40a7cfb5f06303742324087b121d470dc51d..ed012cfc612b5552b2bb1177b1ae9975856d2f94 100644
--- a/third_party/WebKit/Source/bindings/core/v8/ScriptPromiseResolverTest.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/ScriptPromiseResolverTest.cpp
@@ -53,7 +53,7 @@ class ScriptPromiseResolverTest : public ::testing::Test {
std::unique_ptr<DummyPageHolder> m_pageHolder;
ScriptState* getScriptState() const {
- return ScriptState::forMainWorld(&m_pageHolder->frame());
+ return toScriptStateForMainWorld(&m_pageHolder->frame());
}
ExecutionContext* getExecutionContext() const {
return &m_pageHolder->document();

Powered by Google App Engine
This is Rietveld 408576698