Index: Source/modules/geolocation/GeolocationController.cpp |
diff --git a/Source/modules/geolocation/GeolocationController.cpp b/Source/modules/geolocation/GeolocationController.cpp |
index 213bb36efdb7c597b710cc99d11326824f42c11d..f87f66874d5e345e3d0100f41e6925d6737ab57c 100644 |
--- a/Source/modules/geolocation/GeolocationController.cpp |
+++ b/Source/modules/geolocation/GeolocationController.cpp |
@@ -47,14 +47,14 @@ GeolocationController::GeolocationController(LocalFrame& frame, GeolocationClien |
// it and this class. Until then, there's one GeolocationInspectorAgent per page that the main |
// frame is responsible for creating. |
if (frame.isMainFrame()) { |
- OwnPtr<GeolocationInspectorAgent> geolocationAgent(GeolocationInspectorAgent::create()); |
+ OwnPtrWillBeRawPtr<GeolocationInspectorAgent> geolocationAgent(GeolocationInspectorAgent::create()); |
m_inspectorAgent = geolocationAgent.get(); |
frame.page()->inspectorController().registerModuleAgent(geolocationAgent.release()); |
} else { |
m_inspectorAgent = GeolocationController::from(frame.page()->deprecatedLocalMainFrame())->m_inspectorAgent; |
} |
- m_inspectorAgent->AddController(this); |
+ m_inspectorAgent->addController(this); |
if (!frame.isMainFrame()) { |
// internals.setGeolocationClientMock is per page. |
@@ -84,7 +84,7 @@ GeolocationController::~GeolocationController() |
{ |
ASSERT(m_observers.isEmpty()); |
if (page()) |
- m_inspectorAgent->RemoveController(this); |
+ m_inspectorAgent->removeController(this); |
if (m_hasClientForTest) |
m_client->controllerForTestRemoved(this); |