Index: Source/modules/performance/WorkerGlobalScopePerformance.h |
diff --git a/Source/modules/performance/WorkerGlobalScopePerformance.h b/Source/modules/performance/WorkerGlobalScopePerformance.h |
index ee125329f763c0c9aa4a6da1cc902416d720c46f..e84ae20256f1326ea7a31b698c68e7c594fd3a74 100644 |
--- a/Source/modules/performance/WorkerGlobalScopePerformance.h |
+++ b/Source/modules/performance/WorkerGlobalScopePerformance.h |
@@ -31,26 +31,31 @@ |
#ifndef WorkerGlobalScopePerformance_h |
#define WorkerGlobalScopePerformance_h |
-#include "core/workers/WorkerSupplementable.h" |
#include "heap/Handle.h" |
#include "modules/performance/WorkerPerformance.h" |
+#include "platform/Supplementable.h" |
namespace WebCore { |
-class WorkerGlobalScopePerformance FINAL : public WorkerSupplement { |
+class WorkerGlobalScope; |
+ |
+class WorkerGlobalScopePerformance FINAL : public NoBaseWillBeGarbageCollected<WorkerGlobalScopePerformance>, public WillBeHeapSupplement<WorkerGlobalScope> { |
+ WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(WorkerGlobalScopePerformance); |
public: |
virtual ~WorkerGlobalScopePerformance(); |
static WorkerGlobalScopePerformance& from(WorkerGlobalScope&); |
static WorkerPerformance* performance(WorkerGlobalScope&); |
+ virtual void trace(Visitor*); |
+ |
private: |
WorkerGlobalScopePerformance(); |
WorkerPerformance* performance(); |
static const char* supplementName(); |
- RefPtrWillBePersistent<WorkerPerformance> m_performance; |
+ RefPtrWillBeMember<WorkerPerformance> m_performance; |
}; |
} // namespace WebCore |