summaryrefslogtreecommitdiffstats
path: root/Source/WebKit/android
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit/android')
-rw-r--r--Source/WebKit/android/WebCoreSupport/GeolocationClientImpl.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/WebKit/android/WebCoreSupport/GeolocationClientImpl.cpp b/Source/WebKit/android/WebCoreSupport/GeolocationClientImpl.cpp
index 4e53d08..6291b7d 100644
--- a/Source/WebKit/android/WebCoreSupport/GeolocationClientImpl.cpp
+++ b/Source/WebKit/android/WebCoreSupport/GeolocationClientImpl.cpp
@@ -122,6 +122,7 @@ void GeolocationClientImpl::stopUpdating()
{
// TODO: It would be good to re-use the Java bridge object.
m_javaBridge.clear();
+ m_useGps = false;
// Reset last position and error to make sure that we always try to get a
// new position from the client when a request is first made.
m_lastPosition = 0;