Index: third_party/WebKit/Source/modules/compositorworker/CompositorWorkerGlobalScope.cpp |
diff --git a/third_party/WebKit/Source/modules/compositorworker/CompositorWorkerGlobalScope.cpp b/third_party/WebKit/Source/modules/compositorworker/CompositorWorkerGlobalScope.cpp |
index 2ffeffd25b8a35081efa8da24f3df864f115fed3..ffe4cc8919b45f79f1c85bbb0bf552e31e008fde 100644 |
--- a/third_party/WebKit/Source/modules/compositorworker/CompositorWorkerGlobalScope.cpp |
+++ b/third_party/WebKit/Source/modules/compositorworker/CompositorWorkerGlobalScope.cpp |
@@ -8,7 +8,6 @@ |
#include "bindings/core/v8/ScriptState.h" |
#include "bindings/core/v8/SerializedScriptValue.h" |
#include "core/dom/CompositorWorkerProxyClient.h" |
-#include "core/dom/ExecutionContext.h" |
#include "core/workers/InProcessWorkerObjectProxy.h" |
#include "core/workers/WorkerThreadStartupData.h" |
#include "modules/EventTargetModules.h" |
@@ -77,7 +76,7 @@ void CompositorWorkerGlobalScope::postMessage( |
ExceptionState& exception_state) { |
// Disentangle the port in preparation for sending it to the remote context. |
MessagePortChannelArray channels = MessagePort::DisentanglePorts( |
- ExecutionContext::From(script_state), ports, exception_state); |
+ script_state->GetExecutionContext(), ports, exception_state); |
if (exception_state.HadException()) |
return; |
WorkerObjectProxy().PostMessageToWorkerObject(std::move(message), |