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(); |