Index: Source/modules/geolocation/GeolocationInspectorAgent.h |
diff --git a/Source/modules/geolocation/GeolocationInspectorAgent.h b/Source/modules/geolocation/GeolocationInspectorAgent.h |
index 906ae6ff3edae9ce94bffcd88f5c2f1a60695b27..c894764f95974db42c9d477f83813e71832e0881 100644 |
--- a/Source/modules/geolocation/GeolocationInspectorAgent.h |
+++ b/Source/modules/geolocation/GeolocationInspectorAgent.h |
@@ -46,8 +46,9 @@ typedef String ErrorString; |
class GeolocationInspectorAgent FINAL : public InspectorBaseAgent<GeolocationInspectorAgent>, public InspectorBackendDispatcher::GeolocationCommandHandler { |
WTF_MAKE_NONCOPYABLE(GeolocationInspectorAgent); |
public: |
- static PassOwnPtr<GeolocationInspectorAgent> create(GeolocationController*); |
+ static PassOwnPtrWillBeRawPtr<GeolocationInspectorAgent> create(GeolocationController*); |
virtual ~GeolocationInspectorAgent(); |
+ virtual void trace(Visitor*) OVERRIDE; |
// Protocol methods. |
virtual void setGeolocationOverride(ErrorString*, const double*, const double*, const double*) OVERRIDE; |
@@ -60,8 +61,8 @@ private: |
explicit GeolocationInspectorAgent(GeolocationController*); |
GeolocationController* m_controller; |
bool m_geolocationOverridden; |
- RefPtrWillBePersistent<GeolocationPosition> m_geolocationPosition; |
- RefPtrWillBePersistent<GeolocationPosition> m_platformGeolocationPosition; |
+ RefPtrWillBeMember<GeolocationPosition> m_geolocationPosition; |
+ RefPtrWillBeMember<GeolocationPosition> m_platformGeolocationPosition; |
}; |