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

Unified Diff: third_party/WebKit/Source/modules/compositorworker/AnimationWorkletMessagingProxy.h

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/AnimationWorkletMessagingProxy.h
diff --git a/third_party/WebKit/Source/modules/compositorworker/AnimationWorkletMessagingProxy.h b/third_party/WebKit/Source/modules/compositorworker/AnimationWorkletMessagingProxy.h
index 29789a99eff7a054e8fd0a606eb15832c4c9f4fb..3deb95cbdd826340a30d768ba4d5444fc2ee8ef1 100644
--- a/third_party/WebKit/Source/modules/compositorworker/AnimationWorkletMessagingProxy.h
+++ b/third_party/WebKit/Source/modules/compositorworker/AnimationWorkletMessagingProxy.h
@@ -5,6 +5,7 @@
#ifndef AnimationWorkletMessagingProxy_h
#define AnimationWorkletMessagingProxy_h
+#include "core/dom/AnimationWorkletProxyClient.h"
#include "core/workers/ThreadedWorkletMessagingProxy.h"
#include "wtf/Allocator.h"
#include <memory>
@@ -19,12 +20,14 @@ class AnimationWorkletMessagingProxy final
USING_FAST_MALLOC(AnimationWorkletMessagingProxy);
public:
- explicit AnimationWorkletMessagingProxy(ExecutionContext*);
+ AnimationWorkletMessagingProxy(ExecutionContext*,
+ AnimationWorkletProxyClient*);
protected:
~AnimationWorkletMessagingProxy() override;
std::unique_ptr<WorkerThread> createWorkerThread(double originTime) override;
+ Persistent<AnimationWorkletProxyClient> m_proxyClient;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698