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

Unified Diff: Source/modules/geolocation/GeolocationInspectorAgent.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, 5 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/GeolocationInspectorAgent.cpp
diff --git a/Source/modules/geolocation/GeolocationInspectorAgent.cpp b/Source/modules/geolocation/GeolocationInspectorAgent.cpp
index 928f6ba02df4c911d96a440d6f95c406cf693be8..5a1bd90ab66769c18c0f0b034999a449532b8519 100644
--- a/Source/modules/geolocation/GeolocationInspectorAgent.cpp
+++ b/Source/modules/geolocation/GeolocationInspectorAgent.cpp
@@ -35,9 +35,9 @@
namespace blink {
-PassOwnPtr<GeolocationInspectorAgent> GeolocationInspectorAgent::create()
+PassOwnPtrWillBeRawPtr<GeolocationInspectorAgent> GeolocationInspectorAgent::create()
{
- return adoptPtr(new GeolocationInspectorAgent());
+ return adoptPtrWillBeNoop(new GeolocationInspectorAgent());
}
GeolocationInspectorAgent::~GeolocationInspectorAgent()
@@ -89,14 +89,24 @@ GeolocationPosition* GeolocationInspectorAgent::overrideGeolocationPosition(Geol
return position;
}
-void GeolocationInspectorAgent::AddController(GeolocationController* controller)
+void GeolocationInspectorAgent::addController(GeolocationController* controller)
{
m_controllers.add(controller);
}
-void GeolocationInspectorAgent::RemoveController(GeolocationController* controller)
+void GeolocationInspectorAgent::removeController(GeolocationController* controller)
{
m_controllers.remove(controller);
}
+void GeolocationInspectorAgent::trace(Visitor* visitor)
+{
+#if ENABLE(OILPAN)
+ visitor->trace(m_controllers);
+#endif
+ visitor->trace(m_geolocationPosition);
+ visitor->trace(m_platformGeolocationPosition);
+ InspectorBaseAgent::trace(visitor);
+}
+
} // namespace blink
« no previous file with comments | « Source/modules/geolocation/GeolocationInspectorAgent.h ('k') | Source/modules/indexeddb/InspectorIndexedDBAgent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698