| Index: third_party/WebKit/Source/modules/serviceworkers/InstallEvent.cpp
|
| diff --git a/third_party/WebKit/Source/modules/serviceworkers/InstallEvent.cpp b/third_party/WebKit/Source/modules/serviceworkers/InstallEvent.cpp
|
| index 98c5f0910ff6d960b39fd91322484fb5f0039e52..6a61ae04c5d10466c82e45537ea4ae918ba84288 100644
|
| --- a/third_party/WebKit/Source/modules/serviceworkers/InstallEvent.cpp
|
| +++ b/third_party/WebKit/Source/modules/serviceworkers/InstallEvent.cpp
|
| @@ -4,6 +4,7 @@
|
|
|
| #include "modules/serviceworkers/InstallEvent.h"
|
|
|
| +#include "bindings/core/v8/ScriptState.h"
|
| #include "core/dom/ExceptionCode.h"
|
| #include "modules/serviceworkers/ServiceWorkerGlobalScopeClient.h"
|
| #include "public/platform/WebSecurityOrigin.h"
|
| @@ -23,7 +24,7 @@ InstallEvent* InstallEvent::create(const AtomicString& type,
|
|
|
| InstallEvent::~InstallEvent() {}
|
|
|
| -void InstallEvent::registerForeignFetch(ExecutionContext* executionContext,
|
| +void InstallEvent::registerForeignFetch(ScriptState* scriptState,
|
| const ForeignFetchOptions& options,
|
| ExceptionState& exceptionState) {
|
| if (!isBeingDispatched()) {
|
| @@ -55,6 +56,7 @@ void InstallEvent::registerForeignFetch(ExecutionContext* executionContext,
|
| }
|
| }
|
|
|
| + ExecutionContext* executionContext = scriptState->getExecutionContext();
|
| ServiceWorkerGlobalScopeClient* client =
|
| ServiceWorkerGlobalScopeClient::from(executionContext);
|
|
|
|
|