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 5e0964930071610a429d596c841a56c454cafadd..acc152e350dd8c01f2a7d542364c47b0bb9376b3 100644 |
--- a/third_party/WebKit/Source/modules/serviceworkers/InstallEvent.cpp |
+++ b/third_party/WebKit/Source/modules/serviceworkers/InstallEvent.cpp |
@@ -6,7 +6,6 @@ |
#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" |
@@ -57,7 +56,7 @@ void InstallEvent::registerForeignFetch(ScriptState* script_state, |
} |
} |
- ExecutionContext* execution_context = ExecutionContext::From(script_state); |
+ ExecutionContext* execution_context = script_state->GetExecutionContext(); |
ServiceWorkerGlobalScopeClient* client = |
ServiceWorkerGlobalScopeClient::From(execution_context); |