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

Unified Diff: third_party/WebKit/Source/core/timing/WorkerGlobalScopePerformance.cpp

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
Index: third_party/WebKit/Source/core/timing/WorkerGlobalScopePerformance.cpp
diff --git a/third_party/WebKit/Source/core/timing/WorkerGlobalScopePerformance.cpp b/third_party/WebKit/Source/core/timing/WorkerGlobalScopePerformance.cpp
index c0998cb307b71ff035da171668e9b67a9f9a66a4..e3e4fa42c5218964601356f8a284eff6cd47f362 100644
--- a/third_party/WebKit/Source/core/timing/WorkerGlobalScopePerformance.cpp
+++ b/third_party/WebKit/Source/core/timing/WorkerGlobalScopePerformance.cpp
@@ -46,7 +46,7 @@ const char* WorkerGlobalScopePerformance::supplementName()
WorkerGlobalScopePerformance& WorkerGlobalScopePerformance::from(WorkerGlobalScope& context)
{
- WorkerGlobalScopePerformance* supplement = static_cast<WorkerGlobalScopePerformance*>(WillBeHeapSupplement<WorkerGlobalScope>::from(context, supplementName()));
+ WorkerGlobalScopePerformance* supplement = static_cast<WorkerGlobalScopePerformance*>(HeapSupplement<WorkerGlobalScope>::from(context, supplementName()));
if (!supplement) {
supplement = new WorkerGlobalScopePerformance();
provideTo(context, supplementName(), adoptPtrWillBeNoop(supplement));
@@ -69,7 +69,7 @@ WorkerPerformance* WorkerGlobalScopePerformance::performance(WorkerGlobalScope*
DEFINE_TRACE(WorkerGlobalScopePerformance)
{
visitor->trace(m_performance);
- WillBeHeapSupplement<WorkerGlobalScope>::trace(visitor);
+ HeapSupplement<WorkerGlobalScope>::trace(visitor);
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698