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 e91c724a80dad29e39737c2261ef3d64fd1e1256..c09c82e91bd99b10569e4243b89ed68b3b22e952 100644 |
--- a/third_party/WebKit/Source/modules/serviceworkers/InstallEvent.cpp |
+++ b/third_party/WebKit/Source/modules/serviceworkers/InstallEvent.cpp |
@@ -6,6 +6,7 @@ |
#include "bindings/core/v8/ScriptState.h" |
#include "core/dom/ExceptionCode.h" |
+#include "core/dom/ExecutionContext.h" |
#include "modules/serviceworkers/ServiceWorkerGlobalScopeClient.h" |
#include "public/platform/WebSecurityOrigin.h" |
@@ -56,7 +57,7 @@ void InstallEvent::registerForeignFetch(ScriptState* script_state, |
} |
} |
- ExecutionContext* execution_context = script_state->GetExecutionContext(); |
+ ExecutionContext* execution_context = ExecutionContext::From(script_state); |
ServiceWorkerGlobalScopeClient* client = |
ServiceWorkerGlobalScopeClient::From(execution_context); |