| Index: Source/modules/geolocation/GeolocationController.h
|
| diff --git a/Source/modules/geolocation/GeolocationController.h b/Source/modules/geolocation/GeolocationController.h
|
| index ba1617438ad759ce07cd133eddbb7ff303e33c27..50eaae892cb2f408b711075f9fca8e38e6efc7f6 100644
|
| --- a/Source/modules/geolocation/GeolocationController.h
|
| +++ b/Source/modules/geolocation/GeolocationController.h
|
| @@ -58,8 +58,6 @@ public:
|
|
|
| GeolocationPosition* lastPosition();
|
|
|
| - GeolocationClient* client() { return m_client; }
|
| -
|
| // Inherited from PageLifecycleObserver.
|
| virtual void pageVisibilityChanged() OVERRIDE;
|
|
|
| @@ -69,6 +67,9 @@ public:
|
| private:
|
| GeolocationController(Page*, GeolocationClient*);
|
|
|
| + void startUpdatingIfNeeded();
|
| + void stopUpdatingIfNeeded();
|
| +
|
| GeolocationClient* m_client;
|
|
|
| RefPtr<GeolocationPosition> m_lastPosition;
|
| @@ -76,6 +77,7 @@ private:
|
| // All observers; both those requesting high accuracy and those not.
|
| ObserversSet m_observers;
|
| ObserversSet m_highAccuracyObservers;
|
| + bool m_isClientUpdating;
|
| };
|
|
|
| } // namespace WebCore
|
|
|