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

Unified Diff: third_party/WebKit/Source/core/dom/CompositorProxy.cpp

Issue 2515363002: Introduce AnimationWorkletProxyClient and necessary plumbing to get it in worklet messaging proxy. (Closed)
Patch Set: address feedback Created 4 years, 1 month 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/core/dom/CompositorProxy.cpp
diff --git a/third_party/WebKit/Source/core/dom/CompositorProxy.cpp b/third_party/WebKit/Source/core/dom/CompositorProxy.cpp
index d419c254f9fcd717d15977de6207541179122e2b..7f600b6cd0453164c3c2a0c0b460220c34b75937 100644
--- a/third_party/WebKit/Source/core/dom/CompositorProxy.cpp
+++ b/third_party/WebKit/Source/core/dom/CompositorProxy.cpp
@@ -6,6 +6,7 @@
#include "bindings/core/v8/ExceptionMessages.h"
#include "bindings/core/v8/ExceptionState.h"
+#include "core/dom/CompositorWorkerProxyClient.h"
#include "core/dom/DOMNodeIds.h"
#include "core/dom/ExceptionCode.h"
#include "core/dom/ExecutionContext.h"
@@ -125,7 +126,8 @@ CompositorProxy* CompositorProxy::create(ExecutionContext* context,
if (context->isCompositorWorkerGlobalScope()) {
WorkerClients* clients = toWorkerGlobalScope(context)->clients();
DCHECK(clients);
- CompositorProxyClient* client = CompositorProxyClient::from(clients);
+ CompositorWorkerProxyClient* client =
+ CompositorWorkerProxyClient::from(clients);
return new CompositorProxy(elementId, compositorMutableProperties, client);
}

Powered by Google App Engine
This is Rietveld 408576698