Chromium Code Reviews| Index: Source/core/workers/WorkerClients.h |
| diff --git a/Source/core/workers/WorkerClients.h b/Source/core/workers/WorkerClients.h |
| index 8cc4aa2ff556722556cf841d9dcb7282a2c47319..676dd2aae59af3e2471a04c87b11464c26e0418f 100644 |
| --- a/Source/core/workers/WorkerClients.h |
| +++ b/Source/core/workers/WorkerClients.h |
| @@ -39,16 +39,21 @@ namespace WebCore { |
| // 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 : public Supplementable<WorkerClients> { |
| +class WorkerClients : public NoBaseWillBeGarbageCollectedFinalized<WorkerClients>, public Supplementable<WorkerClients> { |
| WTF_MAKE_NONCOPYABLE(WorkerClients); |
| public: |
| - static PassOwnPtr<WorkerClients> create() |
| + static PassOwnPtrWillBeRawPtr<WorkerClients> create() |
| { |
| - return adoptPtr(new WorkerClients()); |
| + return adoptPtrWillBeNoop(new WorkerClients()); |
| } |
| virtual ~WorkerClients() { } |
| + virtual void trace(Visitor* visitor) |
|
haraken
2014/04/09 09:04:39
Add OVERRIDE.
zerny-chromium
2014/04/09 09:31:47
Done.
|
| + { |
| + Supplementable<WorkerClients>::trace(visitor); |
| + } |
| + |
| private: |
| WorkerClients() { } |
| }; |