Index: Source/core/timing/SharedWorkerPerformance.cpp |
diff --git a/Source/core/timing/SharedWorkerPerformance.cpp b/Source/core/timing/SharedWorkerPerformance.cpp |
index f16c108fcec99b3fd2a725dfb2a166c19fc39130..38aabe4e6987eee91effedb6756d3d711324e49a 100644 |
--- a/Source/core/timing/SharedWorkerPerformance.cpp |
+++ b/Source/core/timing/SharedWorkerPerformance.cpp |
@@ -50,10 +50,10 @@ const char* SharedWorkerPerformance::supplementName() |
SharedWorkerPerformance& SharedWorkerPerformance::from(SharedWorker& sharedWorker) |
{ |
- SharedWorkerPerformance* supplement = static_cast<SharedWorkerPerformance*>(WillBeHeapSupplement<SharedWorker>::from(sharedWorker, supplementName())); |
+ SharedWorkerPerformance* supplement = static_cast<SharedWorkerPerformance*>(HeapSupplement<SharedWorker>::from(sharedWorker, supplementName())); |
if (!supplement) { |
supplement = new SharedWorkerPerformance(); |
- provideTo(sharedWorker, supplementName(), adoptPtrWillBeNoop(supplement)); |
+ provideTo(sharedWorker, supplementName(), supplement); |
} |
return *supplement; |
} |
@@ -76,4 +76,3 @@ double SharedWorkerPerformance::getWorkerStart(ExecutionContext* context, Shared |
} |
} // namespace blink |
- |