Index: third_party/WebKit/Source/core/workers/WorkerClients.h |
diff --git a/third_party/WebKit/Source/core/workers/WorkerClients.h b/third_party/WebKit/Source/core/workers/WorkerClients.h |
index e993c42e45fbbf3f8bc661968e4d77f2c6867816..1faf6878febf15da5146a8ee7b571accdd1b5439 100644 |
--- a/third_party/WebKit/Source/core/workers/WorkerClients.h |
+++ b/third_party/WebKit/Source/core/workers/WorkerClients.h |
@@ -39,23 +39,19 @@ namespace blink { |
// This is created on the main thread, passed to the worker thread and |
// attached to WorkerGlobalScope when it is created. |
// This class can be used to provide "client" implementations to Workers. |
-class WorkerClients final : public GarbageCollectedFinalized<WorkerClients>, public HeapSupplementable<WorkerClients> { |
+class WorkerClients final : public GarbageCollectedFinalized<WorkerClients>, public Supplementable<WorkerClients> { |
USING_GARBAGE_COLLECTED_MIXIN(WorkerClients); |
WTF_MAKE_NONCOPYABLE(WorkerClients); |
public: |
- static RawPtr<WorkerClients> create() |
+ static WorkerClients* create() |
{ |
- return new WorkerClients(); |
+ return new WorkerClients; |
} |
- virtual ~WorkerClients() { } |
- |
-#if ENABLE(OILPAN) |
DEFINE_INLINE_VIRTUAL_TRACE() |
{ |
- HeapSupplementable<WorkerClients>::trace(visitor); |
+ Supplementable<WorkerClients>::trace(visitor); |
} |
-#endif |
private: |
WorkerClients() { } |