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

Unified Diff: third_party/WebKit/Source/modules/geofencing/WorkerNavigatorGeofencing.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/WorkerNavigatorGeofencing.cpp
diff --git a/third_party/WebKit/Source/modules/geofencing/WorkerNavigatorGeofencing.cpp b/third_party/WebKit/Source/modules/geofencing/WorkerNavigatorGeofencing.cpp
index 61d8340e7d2ce93da4ebc385c2851e4a47a9eb4c..6fb17a2a18e29ee9d7848c46f9ff90bbdff752db 100644
--- a/third_party/WebKit/Source/modules/geofencing/WorkerNavigatorGeofencing.cpp
+++ b/third_party/WebKit/Source/modules/geofencing/WorkerNavigatorGeofencing.cpp
@@ -24,7 +24,7 @@ const char* WorkerNavigatorGeofencing::supplementName()
WorkerNavigatorGeofencing& WorkerNavigatorGeofencing::from(WorkerNavigator& navigator)
{
- WorkerNavigatorGeofencing* supplement = static_cast<WorkerNavigatorGeofencing*>(HeapSupplement<WorkerNavigator>::from(navigator, supplementName()));
+ WorkerNavigatorGeofencing* supplement = static_cast<WorkerNavigatorGeofencing*>(Supplement<WorkerNavigator>::from(navigator, supplementName()));
if (!supplement) {
supplement = new WorkerNavigatorGeofencing();
provideTo(navigator, supplementName(), supplement);
@@ -47,7 +47,7 @@ Geofencing* WorkerNavigatorGeofencing::geofencing()
DEFINE_TRACE(WorkerNavigatorGeofencing)
{
visitor->trace(m_geofencing);
- HeapSupplement<WorkerNavigator>::trace(visitor);
+ Supplement<WorkerNavigator>::trace(visitor);
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698