From 7fe9fafffc35c6688167a3916869b9c32bd69d1c Mon Sep 17 00:00:00 2001 From: Steve Block Date: Fri, 29 Jan 2010 16:15:18 +0000 Subject: [PATCH] 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 --- WebCore/page/Geolocation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WebCore/page/Geolocation.cpp b/WebCore/page/Geolocation.cpp index 1cde88326..bc73bb519 100644 --- a/WebCore/page/Geolocation.cpp +++ b/WebCore/page/Geolocation.cpp @@ -280,7 +280,7 @@ PassRefPtr Geolocation::startRequest(PassRefPtrm_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")); -- 2.11.0