summaryrefslogtreecommitdiffstats
path: root/Source/WebKit
diff options
context:
space:
mode:
authorSteve Block <steveblock@google.com>2012-05-29 02:42:41 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-05-29 02:42:41 -0700
commit79d4c3bf51bdd06911212642da6d697f6a8245c5 (patch)
tree4e1df272c3644ef6009c55f6fa52ff8b1931ec6a /Source/WebKit
parent346a98b94013732b09cdcfa70bc86608c1ba1195 (diff)
parent220650036961eecb29c06c23b010d31afde3641f (diff)
downloadexternal_webkit-79d4c3bf51bdd06911212642da6d697f6a8245c5.zip
external_webkit-79d4c3bf51bdd06911212642da6d697f6a8245c5.tar.gz
external_webkit-79d4c3bf51bdd06911212642da6d697f6a8245c5.tar.bz2
Merge "Make sure we don't use GPS when not required"
Diffstat (limited to 'Source/WebKit')
-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;