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

Unified Diff: third_party/WebKit/Source/core/dom/CompositorWorkerProxyClient.h

Issue 2774223002: CompositorWorkerProxyClientImpl to CompositorProxy cross thread reference is using WeakMember (Closed)
Patch Set: fix Created 3 years, 9 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/core/dom/CompositorWorkerProxyClient.h
diff --git a/third_party/WebKit/Source/core/dom/CompositorWorkerProxyClient.h b/third_party/WebKit/Source/core/dom/CompositorWorkerProxyClient.h
index 7e25ccebe7a97be1d89450cec44b1d73720ef8b3..a221aa5ced74f16e1de0a4b50c693422c70e3b52 100644
--- a/third_party/WebKit/Source/core/dom/CompositorWorkerProxyClient.h
+++ b/third_party/WebKit/Source/core/dom/CompositorWorkerProxyClient.h
@@ -16,17 +16,11 @@ class WorkerClients;
class WorkerGlobalScope;
class CORE_EXPORT CompositorWorkerProxyClient
- : public CompositorProxyClient,
- public Supplement<WorkerClients> {
+ : public Supplement<WorkerClients> {
WTF_MAKE_NONCOPYABLE(CompositorWorkerProxyClient);
- USING_GARBAGE_COLLECTED_MIXIN(CompositorWorkerProxyClient);
public:
CompositorWorkerProxyClient() {}
- DEFINE_INLINE_VIRTUAL_TRACE() {
- CompositorProxyClient::trace(visitor);
- Supplement<WorkerClients>::trace(visitor);
- }
static CompositorWorkerProxyClient* from(WorkerClients*);
static const char* supplementName();
@@ -34,6 +28,7 @@ class CORE_EXPORT CompositorWorkerProxyClient
virtual void dispose() = 0;
virtual void setGlobalScope(WorkerGlobalScope*) = 0;
virtual void requestAnimationFrame() = 0;
+ virtual CompositorProxyClient* compositorProxyClient() = 0;
};
CORE_EXPORT void provideCompositorWorkerProxyClientTo(

Powered by Google App Engine
This is Rietveld 408576698