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

Unified Diff: third_party/WebKit/Source/modules/push_messaging/ServiceWorkerRegistrationPush.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/push_messaging/ServiceWorkerRegistrationPush.cpp
diff --git a/third_party/WebKit/Source/modules/push_messaging/ServiceWorkerRegistrationPush.cpp b/third_party/WebKit/Source/modules/push_messaging/ServiceWorkerRegistrationPush.cpp
index 4e884d38a89899109554202894d836d3e511bb73..8164a2f0315128b1eaf33cf3151891cb2881ed1c 100644
--- a/third_party/WebKit/Source/modules/push_messaging/ServiceWorkerRegistrationPush.cpp
+++ b/third_party/WebKit/Source/modules/push_messaging/ServiceWorkerRegistrationPush.cpp
@@ -25,7 +25,7 @@ const char* ServiceWorkerRegistrationPush::supplementName()
ServiceWorkerRegistrationPush& ServiceWorkerRegistrationPush::from(ServiceWorkerRegistration& registration)
{
- ServiceWorkerRegistrationPush* supplement = static_cast<ServiceWorkerRegistrationPush*>(HeapSupplement<ServiceWorkerRegistration>::from(registration, supplementName()));
+ ServiceWorkerRegistrationPush* supplement = static_cast<ServiceWorkerRegistrationPush*>(Supplement<ServiceWorkerRegistration>::from(registration, supplementName()));
if (!supplement) {
supplement = new ServiceWorkerRegistrationPush(&registration);
provideTo(registration, supplementName(), supplement);
@@ -49,7 +49,7 @@ DEFINE_TRACE(ServiceWorkerRegistrationPush)
{
visitor->trace(m_registration);
visitor->trace(m_pushManager);
- HeapSupplement<ServiceWorkerRegistration>::trace(visitor);
+ Supplement<ServiceWorkerRegistration>::trace(visitor);
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698