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

Unified Diff: third_party/WebKit/Source/core/workers/WorkerClients.h

Issue 1851743002: Simplify Supplementables post Oilpan. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix component build Created 4 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/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() { }
« no previous file with comments | « third_party/WebKit/Source/core/workers/SharedWorker.cpp ('k') | third_party/WebKit/Source/core/workers/WorkerGlobalScope.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698