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

Unified Diff: Source/modules/performance/SharedWorkerPerformance.h

Issue 200373003: Oilpan: make DataObject and SharedWorker heap Supplementables. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add missing HeapSupplementable<> trace() calls Created 6 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: Source/modules/performance/SharedWorkerPerformance.h
diff --git a/Source/modules/performance/SharedWorkerPerformance.h b/Source/modules/performance/SharedWorkerPerformance.h
index 2bd6caf6c5eb859512527d4f89c598821e0a8b82..c4d3a94a1c9e8b84177401afb091deda111147a0 100644
--- a/Source/modules/performance/SharedWorkerPerformance.h
+++ b/Source/modules/performance/SharedWorkerPerformance.h
@@ -30,6 +30,7 @@
#ifndef SharedWorkerPerformance_h
#define SharedWorkerPerformance_h
+#include "heap/Handle.h"
#include "platform/Supplementable.h"
namespace WebCore {
@@ -37,7 +38,8 @@ namespace WebCore {
class ExecutionContext;
class SharedWorker;
-class SharedWorkerPerformance FINAL : public Supplement<SharedWorker> {
+class SharedWorkerPerformance FINAL : public NoBaseWillBeGarbageCollected<SharedWorkerPerformance>, public WillBeHeapSupplement<SharedWorker> {
+ WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(SharedWorkerPerformance);
public:
virtual ~SharedWorkerPerformance();
static SharedWorkerPerformance& from(SharedWorker&);
@@ -45,6 +47,8 @@ public:
static double workerStart(ExecutionContext*, SharedWorker&);
double getWorkerStart(ExecutionContext*, SharedWorker&) const;
+ void trace(Visitor*) { }
+
private:
explicit SharedWorkerPerformance();
static const char* supplementName();
« no previous file with comments | « Source/modules/filesystem/DraggedIsolatedFileSystem.cpp ('k') | Source/modules/performance/SharedWorkerPerformance.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698