Recovery timeout of geolocation to normal value from 10 times
authorSanghyun Park <sh919.park@samsung.com>
Thu, 9 May 2013 16:52:14 +0000 (01:52 +0900)
committerGerrit Code Review <gerrit2@kim11>
Fri, 10 May 2013 04:28:27 +0000 (13:28 +0900)
[Title] Recovery timeout of geolocation to normal value from 10 times
[Issue#] N/A
[Problem] Currently, timeout value of geolocation is set to 10 times.
[Cause] N/A
[Solution] Remove the 10 times about timeout value

Change-Id: I92731261bef01eb8e65ce3f28e5359eaf27541b6

Source/WTF/wtf/Platform.h
Source/WebCore/Modules/geolocation/Geolocation.cpp

index 8a4fc27..3d7e798 100755 (executable)
 /* Download Patches */
 #define ENABLE_TIZEN_DOWNLOAD 1 /* Keunsoon Lee(keunsoon.lee@samsung.com) : */
 
-/* Geolocation's patches */
-#if ENABLE(GEOLOCATION)
-#define ENABLE_TIZEN_GEOLOCATION_TIMEOUT_INCREASE 1 /* Gyuyoung Kim(gyuyoung.kim@samsung.com) : Need to increase timeout time because slp gps's connection needs to wait about 45 sec */
-#endif
-
 /* Plugin Patches */
 #define ENABLE_TIZEN_SUPPORT_PLUGINS 1 /* Mariusz Grzegorczyk(mariusz.g@samsung.com) : */
 #define ENABLE_TIZEN_PLUGIN_SHOW_MISSING_PLUGIN_STATEMENT_EVEN_IF_PLUGIN_IS_DISABLED_ON_PREFERENCE 1 /* Keunsoon Lee(keunsoon.lee@samsung.com): show "missing plugin" even if preference setting for plugin is disabled. */
index 0fe3487..57caf31 100644 (file)
@@ -137,11 +137,7 @@ void Geolocation::GeoNotifier::runErrorCallback(PositionError* error)
 void Geolocation::GeoNotifier::startTimerIfNeeded()
 {
     if (m_options->hasTimeout())
-#if ENABLE(TIZEN_GEOLOCATION_TIMEOUT_INCREASE)
-        m_timer.startOneShot(m_options->timeout() / 100.0);
-#else
         m_timer.startOneShot(m_options->timeout() / 1000.0);
-#endif
 }
 
 void Geolocation::GeoNotifier::stopTimer()