Index: Source/modules/geolocation/GeolocationInspectorAgent.h |
diff --git a/Source/modules/geolocation/GeolocationInspectorAgent.h b/Source/modules/geolocation/GeolocationInspectorAgent.h |
index e3c526059da3e03cc7d27a8816fbaec66e4f4176..520115ee80c9e09873931b58f2246a483955108e 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(); |
+ static PassOwnPtrWillBeRawPtr<GeolocationInspectorAgent> create(); |
virtual ~GeolocationInspectorAgent(); |
+ virtual void trace(Visitor*) OVERRIDE; |
// Protocol methods. |
virtual void setGeolocationOverride(ErrorString*, const double*, const double*, const double*) OVERRIDE; |
@@ -63,8 +64,8 @@ private: |
GeolocationInspectorAgent(); |
WTF::HashSet<GeolocationController*> m_controllers; |
bool m_geolocationOverridden; |
- Persistent<GeolocationPosition> m_geolocationPosition; |
- Persistent<GeolocationPosition> m_platformGeolocationPosition; |
+ PersistentWillBeMember<GeolocationPosition> m_geolocationPosition; |
+ PersistentWillBeMember<GeolocationPosition> m_platformGeolocationPosition; |
}; |