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 acc152e350dd8c01f2a7d542364c47b0bb9376b3..5e0964930071610a429d596c841a56c454cafadd 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 @@ |
} |
} |
- ExecutionContext* execution_context = script_state->GetExecutionContext(); |
+ ExecutionContext* execution_context = ExecutionContext::From(script_state); |
ServiceWorkerGlobalScopeClient* client = |
ServiceWorkerGlobalScopeClient::From(execution_context); |