| 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 95c056a362ddd3d069cb20fcbea6f8aac30c1e85..8648a4aaf8ab4ce66a5e173b914d234da3230acb 100644
|
| --- a/third_party/WebKit/Source/core/dom/CompositorProxyClient.h
|
| +++ b/third_party/WebKit/Source/core/dom/CompositorProxyClient.h
|
| @@ -6,29 +6,18 @@
|
| #define CompositorProxyClient_h
|
|
|
| #include "core/CoreExport.h"
|
| -#include "core/workers/WorkerClients.h"
|
| -#include "wtf/Noncopyable.h"
|
| -
|
| -#include <v8.h>
|
| +#include "platform/heap/Handle.h"
|
|
|
| namespace blink {
|
|
|
| class CompositorProxy;
|
| -class WorkerClients;
|
| -class WorkerGlobalScope;
|
| -
|
| -class CORE_EXPORT CompositorProxyClient : public Supplement<WorkerClients> {
|
| - WTF_MAKE_NONCOPYABLE(CompositorProxyClient);
|
|
|
| +class CORE_EXPORT CompositorProxyClient
|
| + : public GarbageCollectedFinalized<CompositorProxyClient> {
|
| public:
|
| - CompositorProxyClient() {}
|
| + virtual ~CompositorProxyClient(){};
|
| + DEFINE_INLINE_VIRTUAL_TRACE() {}
|
|
|
| - static CompositorProxyClient* from(WorkerClients*);
|
| - static const char* supplementName();
|
| -
|
| - virtual void dispose() = 0;
|
| - 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
|
| @@ -37,9 +26,6 @@ class CORE_EXPORT CompositorProxyClient : public Supplement<WorkerClients> {
|
| virtual void unregisterCompositorProxy(CompositorProxy*) = 0;
|
| };
|
|
|
| -CORE_EXPORT void provideCompositorProxyClientTo(WorkerClients*,
|
| - CompositorProxyClient*);
|
| -
|
| } // namespace blink
|
|
|
| #endif // CompositorProxyClient_h
|
|
|