Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / modules / geolocation / GeolocationController.h
index e50da46..b5b13c4 100644 (file)
@@ -71,8 +71,6 @@ public:
 
     // Inherited from Supplement.
     virtual void trace(Visitor*) OVERRIDE;
-    virtual void willBeDestroyed() OVERRIDE;
-    virtual void persistentHostHasBeenDestroyed() OVERRIDE;
 
 private:
     GeolocationController(LocalFrame&, GeolocationClient*);
@@ -80,9 +78,7 @@ private:
     void startUpdatingIfNeeded();
     void stopUpdatingIfNeeded();
 
-    void detach();
-
-    GeolocationClient* m_client;
+    RawPtrWillBeMember<GeolocationClient> m_client;
     bool m_hasClientForTest;
 
     PersistentWillBeMember<GeolocationPosition> m_lastPosition;