Index: Source/modules/geolocation/GeolocationInspectorAgent.cpp |
diff --git a/Source/modules/geolocation/GeolocationInspectorAgent.cpp b/Source/modules/geolocation/GeolocationInspectorAgent.cpp |
index aee328e59e988ddb4b2ccb61cf6b43fa27554a2f..3f8638b6078a4aab86999f6a72300116b07cba45 100644 |
--- a/Source/modules/geolocation/GeolocationInspectorAgent.cpp |
+++ b/Source/modules/geolocation/GeolocationInspectorAgent.cpp |
@@ -35,9 +35,9 @@ |
namespace WebCore { |
-PassOwnPtr<GeolocationInspectorAgent> GeolocationInspectorAgent::create() |
+PassOwnPtrWillBeRawPtr<GeolocationInspectorAgent> GeolocationInspectorAgent::create() |
{ |
- return adoptPtr(new GeolocationInspectorAgent()); |
+ return adoptPtrWillBeNoop(new GeolocationInspectorAgent()); |
} |
GeolocationInspectorAgent::~GeolocationInspectorAgent() |
@@ -99,4 +99,11 @@ void GeolocationInspectorAgent::RemoveController(GeolocationController* controll |
m_controllers.remove(controller); |
} |
+void GeolocationInspectorAgent::trace(Visitor* visitor) |
+{ |
+ visitor->trace(m_geolocationPosition); |
+ visitor->trace(m_platformGeolocationPosition); |
+ InspectorBaseAgent::trace(visitor); |
+} |
+ |
} // namespace WebCore |