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

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

Issue 2515363002: Introduce AnimationWorkletProxyClient and necessary plumbing to get it in worklet messaging proxy. (Closed)
Patch Set: Remove unnecessary PLATFORM_EXPORT Created 3 years, 10 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/CompositorWorker.cpp
diff --git a/third_party/WebKit/Source/modules/compositorworker/CompositorWorker.cpp b/third_party/WebKit/Source/modules/compositorworker/CompositorWorker.cpp
index 26bfa946dcd315b156ddf338a3cb0321c295029a..82eabcff1f24671ce4f115afac7a9641027652fc 100644
--- a/third_party/WebKit/Source/modules/compositorworker/CompositorWorker.cpp
+++ b/third_party/WebKit/Source/modules/compositorworker/CompositorWorker.cpp
@@ -5,7 +5,7 @@
#include "modules/compositorworker/CompositorWorker.h"
#include "bindings/core/v8/ExceptionState.h"
-#include "core/dom/CompositorProxyClient.h"
+#include "core/dom/CompositorWorkerProxyClient.h"
#include "core/dom/Document.h"
#include "core/dom/ExceptionCode.h"
#include "core/frame/LocalFrame.h"
@@ -55,10 +55,10 @@ CompositorWorker::createInProcessWorkerMessagingProxy(
ExecutionContext* context) {
Document* document = toDocument(context);
WorkerClients* workerClients = WorkerClients::create();
- provideCompositorProxyClientTo(
- workerClients,
- document->frame()->chromeClient().createCompositorProxyClient(
- document->frame()));
+ CompositorWorkerProxyClient* client =
+ document->frame()->chromeClient().createCompositorWorkerProxyClient(
+ document->frame());
+ provideCompositorWorkerProxyClientTo(workerClients, client);
return new CompositorWorkerMessagingProxy(this, workerClients);
}

Powered by Google App Engine
This is Rietveld 408576698