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

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

Powered by Google App Engine
This is Rietveld 408576698