| Index: third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerContainerTest.cpp
|
| diff --git a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerContainerTest.cpp b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerContainerTest.cpp
|
| index 615342cc3ed0d85236e8aa889b122349677cadf7..490b93a33479da025dd7fa200acc788e85e6ca17 100644
|
| --- a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerContainerTest.cpp
|
| +++ b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerContainerTest.cpp
|
| @@ -12,6 +12,7 @@
|
| #include "bindings/core/v8/ScriptFunction.h"
|
| #include "bindings/core/v8/ScriptPromise.h"
|
| #include "bindings/core/v8/ScriptState.h"
|
| +#include "bindings/core/v8/V8Binding.h"
|
| #include "bindings/core/v8/V8DOMException.h"
|
| #include "bindings/core/v8/V8GCController.h"
|
| #include "core/dom/DOMException.h"
|
| @@ -157,7 +158,7 @@ class ServiceWorkerContainerTest : public ::testing::Test {
|
| }
|
| v8::Isolate* isolate() { return v8::Isolate::GetCurrent(); }
|
| ScriptState* getScriptState() {
|
| - return ScriptState::forMainWorld(m_page->document().frame());
|
| + return toScriptStateForMainWorld(m_page->document().frame());
|
| }
|
|
|
| void provide(std::unique_ptr<WebServiceWorkerProvider> provider) {
|
|
|