Index: third_party/WebKit/Source/modules/geolocation/NavigatorGeolocation.cpp |
diff --git a/third_party/WebKit/Source/modules/geolocation/NavigatorGeolocation.cpp b/third_party/WebKit/Source/modules/geolocation/NavigatorGeolocation.cpp |
index a965c80be6a073065848d0141c29b11ea588d7c2..1af9561bf498d583fcd6404ae8ca8975bc4ae669 100644 |
--- a/third_party/WebKit/Source/modules/geolocation/NavigatorGeolocation.cpp |
+++ b/third_party/WebKit/Source/modules/geolocation/NavigatorGeolocation.cpp |
@@ -45,7 +45,7 @@ const char* NavigatorGeolocation::supplementName() |
NavigatorGeolocation& NavigatorGeolocation::from(Navigator& navigator) |
{ |
- NavigatorGeolocation* supplement = static_cast<NavigatorGeolocation*>(HeapSupplement<Navigator>::from(navigator, supplementName())); |
+ NavigatorGeolocation* supplement = static_cast<NavigatorGeolocation*>(Supplement<Navigator>::from(navigator, supplementName())); |
if (!supplement) { |
supplement = new NavigatorGeolocation(navigator.frame()); |
provideTo(navigator, supplementName(), supplement); |
@@ -68,7 +68,7 @@ Geolocation* NavigatorGeolocation::geolocation() |
DEFINE_TRACE(NavigatorGeolocation) |
{ |
visitor->trace(m_geolocation); |
- HeapSupplement<Navigator>::trace(visitor); |
+ Supplement<Navigator>::trace(visitor); |
DOMWindowProperty::trace(visitor); |
} |