| Index: third_party/WebKit/Source/core/dom/CompositorProxyClient.h
|
| diff --git a/third_party/WebKit/Source/core/dom/CompositorProxyClient.h b/third_party/WebKit/Source/core/dom/CompositorProxyClient.h
|
| index 9f9cea1630df55fab6cf18a20aba27a882066311..c8f77af0f1b48a7f2ecbf4f7b994fc2980ab09c3 100644
|
| --- a/third_party/WebKit/Source/core/dom/CompositorProxyClient.h
|
| +++ b/third_party/WebKit/Source/core/dom/CompositorProxyClient.h
|
| @@ -30,6 +30,12 @@ public:
|
|
|
| virtual void setGlobalScope(WorkerGlobalScope*) = 0;
|
| virtual void requestAnimationFrame() = 0;
|
| + virtual void registerCompositorProxy(CompositorProxy*) = 0;
|
| + // It is not guaranteed to receive an unregister call for every registered
|
| + // proxy. In fact we only receive one when a proxy is explicitly
|
| + // disconnected otherwise we rely on oilpan collection process to remove the
|
| + // weak reference to the proxy.
|
| + virtual void unregisterCompositorProxy(CompositorProxy*) = 0;
|
| };
|
|
|
| CORE_EXPORT void provideCompositorProxyClientTo(WorkerClients*, CompositorProxyClient*);
|
|
|