Index: Source/modules/performance/WorkerPerformance.h |
diff --git a/Source/modules/performance/WorkerPerformance.h b/Source/modules/performance/WorkerPerformance.h |
index afdcc372f938708c5ddaf4d25554c73befaa060e..72cc873386d00c37123284b1c1af7a69e44281c1 100644 |
--- a/Source/modules/performance/WorkerPerformance.h |
+++ b/Source/modules/performance/WorkerPerformance.h |
@@ -42,9 +42,12 @@ namespace WebCore { |
class ExecutionContext; |
-class WorkerPerformance : public RefCountedWillBeGarbageCollectedFinalized<WorkerPerformance>, public ScriptWrappable { |
+class WorkerPerformance : public GarbageCollectedFinalized<WorkerPerformance>, public ScriptWrappable { |
public: |
- static PassRefPtrWillBeRawPtr<WorkerPerformance> create() { return adoptRefWillBeNoop(new WorkerPerformance()); } |
+ static WorkerPerformance* create() |
+ { |
+ return new WorkerPerformance(); |
+ } |
~WorkerPerformance(); |
double now(ExecutionContext*) const; |