diff options
author | Steve Block <steveblock@google.com> | 2010-01-29 16:15:18 +0000 |
---|---|---|
committer | Steve Block <steveblock@google.com> | 2010-01-29 16:53:13 +0000 |
commit | 7fe9fafffc35c6688167a3916869b9c32bd69d1c (patch) | |
tree | e192e3e4b54ea4f000ba3f320541592938a1f38b /WebCore | |
parent | fbd2688ec2a4d79adf95888484958ee80341a5a2 (diff) | |
download | external_webkit-7fe9fafffc35c6688167a3916869b9c32bd69d1c.zip external_webkit-7fe9fafffc35c6688167a3916869b9c32bd69d1c.tar.gz external_webkit-7fe9fafffc35c6688167a3916869b9c32bd69d1c.tar.bz2 |
Fix Geolocation to make use of the startUpdating helper method
This should have been done as part of the cherry-pick of WebKit change
52103 in https://android-git.corp.google.com/g/#change,37374
This is a syntactic change only, no functional change on Android.
Change-Id: Ic49ac710cafbacd5ff90e92d84b3360a316a43dd
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")); |