Index: Source/modules/geolocation/GeolocationController.cpp |
diff --git a/Source/modules/geolocation/GeolocationController.cpp b/Source/modules/geolocation/GeolocationController.cpp |
index 70d19b3f476b4784de77fd543f84ead898d5d33b..8e90d6cf9642e84ea794fb52f4a861af88baecde 100644 |
--- a/Source/modules/geolocation/GeolocationController.cpp |
+++ b/Source/modules/geolocation/GeolocationController.cpp |
@@ -47,7 +47,7 @@ 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 { |