diff -r 4f2f89ce4247 -r 303757a437d3 WebCore/page/GeolocationController.h --- a/WebCore/page/GeolocationController.h Fri Sep 17 09:02:29 2010 +0300 +++ b/WebCore/page/GeolocationController.h Mon Oct 04 01:32:07 2010 +0300 @@ -45,7 +45,7 @@ GeolocationController(Page*, GeolocationControllerClient*); ~GeolocationController(); - void addObserver(Geolocation*); + void addObserver(Geolocation*, bool enableHighAccuracy); void removeObserver(Geolocation*); void positionChanged(GeolocationPosition*); @@ -58,7 +58,10 @@ GeolocationControllerClient* m_client; RefPtr m_lastPosition; - HashSet > m_observers; + typedef HashSet > ObserversSet; + // All observers; both those requesting high accuracy and those not. + ObserversSet m_observers; + ObserversSet m_highAccuracyObservers; }; } // namespace WebCore