Index: Source/modules/performance/WorkerPerformance.h |
diff --git a/Source/modules/performance/WorkerPerformance.h b/Source/modules/performance/WorkerPerformance.h |
index 3f450403f7bc395ae3a0c12f8f9f290adb99208c..70218448c652ec77927186105f0037ad59086e41 100644 |
--- a/Source/modules/performance/WorkerPerformance.h |
+++ b/Source/modules/performance/WorkerPerformance.h |
@@ -41,13 +41,16 @@ namespace WebCore { |
class ExecutionContext; |
-class WorkerPerformance : public ScriptWrappable, public RefCounted<WorkerPerformance> { |
+class WorkerPerformance : public RefCountedWillBeGarbageCollectedFinalized<WorkerPerformance>, public ScriptWrappable { |
+ DECLARE_GC_INFO; |
public: |
- static PassRefPtr<WorkerPerformance> create() { return adoptRef(new WorkerPerformance()); } |
+ static PassRefPtrWillBeRawPtr<WorkerPerformance> create() { return adoptRefWillBeNoop(new WorkerPerformance()); } |
~WorkerPerformance(); |
double now(ExecutionContext*) const; |
+ void trace(Visitor*) { } |
+ |
private: |
WorkerPerformance(); |
}; |