Changeset 125705 in webkit
- Timestamp:
- Aug 15, 2012 2:13:15 PM (12 years ago)
- Location:
- trunk/Source/WebKit/blackberry
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/blackberry/ChangeLog
r125701 r125705 1 2012-08-15 Yong Li <yoli@rim.com> 2 3 [BlackBerry] Should not keep recreating GeoTracker in setEnableHighAccuracy() 4 https://bugs.webkit.org/show_bug.cgi?id=94136 5 6 Reviewed by Rob Buis. 7 Internally reviewed by Lyon Chen. 8 9 PR# 192401. 10 1. The prototype of GeoTracker::create() has changed. 11 2. Fix the issue that it could recreate tracker unnecessarily when 12 setEnableHighAccuracy() is called but accuracy requirment hasn't 13 changed. 14 3. Fix the issue setEnableHighAccuracy() could start tracking when 15 tracker was suspended. 16 17 * WebCoreSupport/GeolocationControllerClientBlackBerry.cpp: 18 (GeolocationControllerClientBlackBerry::startUpdating): 19 (GeolocationControllerClientBlackBerry::setEnableHighAccuracy): 20 1 21 2012-08-15 Mike Fenton <mifenton@rim.com> 2 22 -
trunk/Source/WebKit/blackberry/WebCoreSupport/GeolocationControllerClientBlackBerry.cpp
r112720 r125705 48 48 m_tracker->resume(); 49 49 else 50 m_tracker = BlackBerry::Platform::GeoTracker::create(this, 0, m_accuracy, -1, -1);50 m_tracker = BlackBerry::Platform::GeoTracker::create(this, m_accuracy); 51 51 } 52 52 … … 102 102 if (m_accuracy == newAccuracy) 103 103 return; 104 if (m_tracker) { 105 m_tracker->destroy(); 106 m_tracker = BlackBerry::Platform::GeoTracker::create(this, 0, newAccuracy, -1, -1); 107 } 104 105 m_accuracy = newAccuracy; 106 107 if (m_tracker) 108 m_tracker->setRequiresHighAccuracy(m_accuracy); 108 109 } 109 110
Note: See TracChangeset
for help on using the changeset viewer.