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

Unified Diff: third_party/WebKit/Source/modules/background_sync/ServiceWorkerRegistrationSync.cpp

Issue 1846913009: HeapSupplements are now just Supplements. (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/modules/background_sync/ServiceWorkerRegistrationSync.cpp
diff --git a/third_party/WebKit/Source/modules/background_sync/ServiceWorkerRegistrationSync.cpp b/third_party/WebKit/Source/modules/background_sync/ServiceWorkerRegistrationSync.cpp
index 6305c371f21aa3bad490bc5b284c6a3d04965c18..868d06d0a492509a1d8696277b1b27f5e64fb66d 100644
--- a/third_party/WebKit/Source/modules/background_sync/ServiceWorkerRegistrationSync.cpp
+++ b/third_party/WebKit/Source/modules/background_sync/ServiceWorkerRegistrationSync.cpp
@@ -25,7 +25,7 @@ const char* ServiceWorkerRegistrationSync::supplementName()
ServiceWorkerRegistrationSync& ServiceWorkerRegistrationSync::from(ServiceWorkerRegistration& registration)
{
- ServiceWorkerRegistrationSync* supplement = static_cast<ServiceWorkerRegistrationSync*>(HeapSupplement<ServiceWorkerRegistration>::from(registration, supplementName()));
+ ServiceWorkerRegistrationSync* supplement = static_cast<ServiceWorkerRegistrationSync*>(Supplement<ServiceWorkerRegistration>::from(registration, supplementName()));
if (!supplement) {
supplement = new ServiceWorkerRegistrationSync(&registration);
provideTo(registration, supplementName(), supplement);
@@ -49,7 +49,7 @@ DEFINE_TRACE(ServiceWorkerRegistrationSync)
{
visitor->trace(m_registration);
visitor->trace(m_syncManager);
- HeapSupplement<ServiceWorkerRegistration>::trace(visitor);
+ Supplement<ServiceWorkerRegistration>::trace(visitor);
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698