| Index: third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerLinkResource.cpp
|
| diff --git a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerLinkResource.cpp b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerLinkResource.cpp
|
| index bef1adc9711079d21cd39858a993765f97c7ca74..0ebdff0cf3f59d8ad9e65fdbf1686c9c4f44f6d6 100644
|
| --- a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerLinkResource.cpp
|
| +++ b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerLinkResource.cpp
|
| @@ -6,6 +6,7 @@
|
|
|
| #include "bindings/core/v8/ExceptionState.h"
|
| #include "bindings/core/v8/ScriptState.h"
|
| +#include "bindings/core/v8/V8Binding.h"
|
| #include "core/dom/Document.h"
|
| #include "core/frame/DOMWindow.h"
|
| #include "core/frame/LocalFrame.h"
|
| @@ -82,7 +83,7 @@ void ServiceWorkerLinkResource::process() {
|
|
|
| String errorMessage;
|
| ServiceWorkerContainer* container = NavigatorServiceWorker::serviceWorker(
|
| - ScriptState::forMainWorld(m_owner->document().frame()),
|
| + toScriptStateForMainWorld(m_owner->document().frame()),
|
| *document.frame()->domWindow()->navigator(), errorMessage);
|
|
|
| if (!container) {
|
|
|