Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1302)

Unified Diff: Source/modules/performance/SharedWorkerPerformance.cpp

Issue 200373003: Oilpan: make DataObject and SharedWorker heap Supplementables. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add missing HeapSupplementable<> trace() calls Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/modules/performance/SharedWorkerPerformance.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/performance/SharedWorkerPerformance.cpp
diff --git a/Source/modules/performance/SharedWorkerPerformance.cpp b/Source/modules/performance/SharedWorkerPerformance.cpp
index 685ad227cdc7274bea28b0d2fdd93409a0aea36d..8bfbf6464ee6645a2b7cdaf2d44b802f23d33fc3 100644
--- a/Source/modules/performance/SharedWorkerPerformance.cpp
+++ b/Source/modules/performance/SharedWorkerPerformance.cpp
@@ -54,10 +54,10 @@ const char* SharedWorkerPerformance::supplementName()
SharedWorkerPerformance& SharedWorkerPerformance::from(SharedWorker& sharedWorker)
{
- SharedWorkerPerformance* supplement = static_cast<SharedWorkerPerformance*>(Supplement<SharedWorker>::from(sharedWorker, supplementName()));
+ SharedWorkerPerformance* supplement = static_cast<SharedWorkerPerformance*>(WillBeHeapSupplement<SharedWorker>::from(sharedWorker, supplementName()));
if (!supplement) {
supplement = new SharedWorkerPerformance();
- provideTo(sharedWorker, supplementName(), adoptPtr(supplement));
+ provideTo(sharedWorker, supplementName(), adoptPtrWillBeNoop(supplement));
}
return *supplement;
}
« no previous file with comments | « Source/modules/performance/SharedWorkerPerformance.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698