Changeset 136162 in webkit
- Timestamp:
- Nov 29, 2012, 2:13:29 PM (14 years ago)
- Location:
- trunk/Source/WebKit/blackberry
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
WebCoreSupport/GeolocationClientBlackBerry.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/blackberry/ChangeLog
r136157 r136162 1 2012-11-29 Otto Derek Cheung <otcheung@rim.com> 2 3 [BlackBerry] Modifying GeoClientBlackBerry to switch between high and low accuracy 4 https://bugs.webkit.org/show_bug.cgi?id=103666 5 6 Reviewed by Yong Li. 7 8 Internally reviewed by Yong Li. 9 10 PR 243420 11 12 Updating GeolocationClientBlackBerry to switch accuracy when GeolocationController 13 calls setEnableHighAccuracy. 14 15 * WebCoreSupport/GeolocationClientBlackBerry.cpp: 16 (GeolocationClientBlackBerry::startUpdating): 17 (GeolocationClientBlackBerry::setEnableHighAccuracy): 18 1 19 2012-11-29 Andrew Lo <anlo@rim.com> 2 20 -
trunk/Source/WebKit/blackberry/WebCoreSupport/GeolocationClientBlackBerry.cpp
r133247 r136162 53 53 { 54 54 if (!m_isActive) 55 BlackBerry::Platform::GeolocationHandler::instance()->addListener(this , false);55 BlackBerry::Platform::GeolocationHandler::instance()->addListener(this); 56 56 m_isActive = true; 57 57 } … … 130 130 void GeolocationClientBlackBerry::setEnableHighAccuracy(bool newAccuracy) 131 131 { 132 // FIXME: we have to implement high accuracy on our side too 133 m_accuracy = newAccuracy; 132 if (m_accuracy != newAccuracy) { 133 m_accuracy = newAccuracy; 134 BlackBerry::Platform::GeolocationHandler::instance()->switchAccuracy(this); 135 } 134 136 } 135 137
Note:
See TracChangeset
for help on using the changeset viewer.