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 ffe4cc8919b45f79f1c85bbb0bf552e31e008fde..2ffeffd25b8a35081efa8da24f3df864f115fed3 100644 |
--- a/third_party/WebKit/Source/modules/compositorworker/CompositorWorkerGlobalScope.cpp |
+++ b/third_party/WebKit/Source/modules/compositorworker/CompositorWorkerGlobalScope.cpp |
@@ -8,6 +8,7 @@ |
#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" |
@@ -76,7 +77,7 @@ |
ExceptionState& exception_state) { |
// Disentangle the port in preparation for sending it to the remote context. |
MessagePortChannelArray channels = MessagePort::DisentanglePorts( |
- script_state->GetExecutionContext(), ports, exception_state); |
+ ExecutionContext::From(script_state), ports, exception_state); |
if (exception_state.HadException()) |
return; |
WorkerObjectProxy().PostMessageToWorkerObject(std::move(message), |