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

Unified Diff: Source/modules/geolocation/GeolocationController.cpp

Issue 307943002: Oilpan: Prepare moving InspectorController and InspectorAgents to oilpan. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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: Source/modules/geolocation/GeolocationController.cpp
diff --git a/Source/modules/geolocation/GeolocationController.cpp b/Source/modules/geolocation/GeolocationController.cpp
index 335cd6a163e8cc02f579c22f9057dba81d52602f..b9279b1bab04aaa0835229b3c215dccfd2cd99ea 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 {

Powered by Google App Engine
This is Rietveld 408576698