diff options
author | Steve Block <steveblock@google.com> | 2010-01-29 09:18:57 -0800 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2010-01-29 09:18:57 -0800 |
commit | f5589972ecc9488fe5e084d3dc7c307f3e98812f (patch) | |
tree | 073d2759f035bda6c2411437bb0665f04d97ebf9 /WebCore | |
parent | 0c3fc76c46448caa6a3f227f6947a2401fa9defc (diff) | |
parent | 7fe9fafffc35c6688167a3916869b9c32bd69d1c (diff) | |
download | external_webkit-f5589972ecc9488fe5e084d3dc7c307f3e98812f.zip external_webkit-f5589972ecc9488fe5e084d3dc7c307f3e98812f.tar.gz external_webkit-f5589972ecc9488fe5e084d3dc7c307f3e98812f.tar.bz2 |
Merge "Fix Geolocation to make use of the startUpdating helper method"
Diffstat (limited to 'WebCore')
-rw-r--r-- | WebCore/page/Geolocation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/page/Geolocation.cpp b/WebCore/page/Geolocation.cpp index 1cde883..bc73bb5 100644 --- a/WebCore/page/Geolocation.cpp +++ b/WebCore/page/Geolocation.cpp @@ -280,7 +280,7 @@ PassRefPtr<Geolocation::GeoNotifier> Geolocation::startRequest(PassRefPtr<Positi if (haveSuitableCachedPosition(notifier->m_options.get())) notifier->setUseCachedPosition(); else { - if (notifier->hasZeroTimeout() || m_service->startUpdating(notifier->m_options.get())) + if (notifier->hasZeroTimeout() || startUpdating(notifier->m_options.get())) notifier->startTimerIfNeeded(); else notifier->setFatalError(PositionError::create(PositionError::POSITION_UNAVAILABLE, "Failed to start Geolocation service")); |