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

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

Issue 178663004: Oilpan: move WorkerGlobalScope to oilpan's heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove redundant include Created 6 years, 10 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
Index: Source/modules/performance/WorkerGlobalScopePerformance.cpp
diff --git a/Source/modules/performance/WorkerGlobalScopePerformance.cpp b/Source/modules/performance/WorkerGlobalScopePerformance.cpp
index 1ecd5be35c3ea0087b287beb279a106a4b2eceb0..e0c3b7d5c7f35bcca34cd50dd900c1367bb0acf9 100644
--- a/Source/modules/performance/WorkerGlobalScopePerformance.cpp
+++ b/Source/modules/performance/WorkerGlobalScopePerformance.cpp
@@ -55,7 +55,7 @@ WorkerGlobalScopePerformance& WorkerGlobalScopePerformance::from(WorkerGlobalSco
WorkerGlobalScopePerformance* supplement = static_cast<WorkerGlobalScopePerformance*>(WorkerSupplement::from(context, supplementName()));
if (!supplement) {
supplement = new WorkerGlobalScopePerformance();
- provideTo(context, supplementName(), adoptPtr(supplement));
+ provideTo(context, supplementName(), adoptPtrWillBeNoop(supplement));
}
return *supplement;
}
@@ -72,4 +72,9 @@ WorkerPerformance* WorkerGlobalScopePerformance::performance()
return m_performance.get();
}
+void WorkerGlobalScopePerformance::trace(Visitor* visitor)
+{
+ visitor->trace(m_performance);
+}
+
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698