Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(995)

Unified Diff: third_party/WebKit/Source/modules/compositorworker/CompositorWorkerGlobalScope.cpp

Issue 2815313002: Reland of Move ScriptState::GetExecutionContext (Part 5) (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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),

Powered by Google App Engine
This is Rietveld 408576698