Index: Source/modules/geolocation/GeolocationInspectorAgent.cpp |
diff --git a/Source/modules/geolocation/GeolocationInspectorAgent.cpp b/Source/modules/geolocation/GeolocationInspectorAgent.cpp |
index 902ca14abd37ae6951f892da8a8c7b79e0e8a5ba..e6de85b8ea10702111eef782ffce76a5177e75de 100644 |
--- a/Source/modules/geolocation/GeolocationInspectorAgent.cpp |
+++ b/Source/modules/geolocation/GeolocationInspectorAgent.cpp |
@@ -35,9 +35,9 @@ |
namespace WebCore { |
-PassOwnPtr<GeolocationInspectorAgent> GeolocationInspectorAgent::create(GeolocationController* controller) |
+PassOwnPtrWillBeRawPtr<GeolocationInspectorAgent> GeolocationInspectorAgent::create(GeolocationController* controller) |
{ |
- return adoptPtr(new GeolocationInspectorAgent(controller)); |
+ return adoptPtrWillBeNoop(new GeolocationInspectorAgent(controller)); |
} |
GeolocationInspectorAgent::~GeolocationInspectorAgent() |
@@ -87,4 +87,11 @@ GeolocationPosition* GeolocationInspectorAgent::overrideGeolocationPosition(Geol |
return position; |
} |
+void GeolocationInspectorAgent::trace(Visitor* visitor) |
+{ |
+ visitor->trace(m_geolocationPosition); |
+ visitor->trace(m_platformGeolocationPosition); |
+ InspectorBaseAgent::trace(visitor); |
+} |
+ |
} // namespace WebCore |