| 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(); }
|
|
|