Changeset 139925 in webkit
- Timestamp:
- Jan 16, 2013 2:31:18 PM (11 years ago)
- Location:
- trunk/Source/WebKit/blackberry
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/blackberry/ChangeLog
r139787 r139925 1 2013-01-16 Joe Mason <jmason@rim.com> 2 3 [BlackBerry] Remove bogus assert in GeolocationClientBlackBerry 4 https://bugs.webkit.org/show_bug.cgi?id=105651 5 6 Reviewed by Darin Adler. 7 8 GeolocationClientBlackBerry::cancelPermissionRequest contains an ASSERT that the origin is 9 in m_geolocationRequestMap. But it's perfectly valid for the origin to not be in the map - 10 for instance, if GeolocationClientBlackBerry::requestPermission returned immediately, 11 without putting it in the map, because geolocation was disabled. In this case the correct 12 thing to do is just return - there is nothing to be done to cancel the permission. 13 14 * WebCoreSupport/GeolocationClientBlackBerry.cpp: 15 (GeolocationClientBlackBerry::cancelPermissionRequest): 16 1 17 2013-01-15 Mike Fenton <mifenton@rim.com> 2 18 -
trunk/Source/WebKit/blackberry/WebCoreSupport/GeolocationClientBlackBerry.cpp
r136969 r139925 131 131 // Remove the geolocation from the pending permission map. 132 132 HashMap<String, Vector<RefPtr<Geolocation> > >::iterator it = m_geolocationRequestMap.find(origin); 133 134 ASSERT(it != m_geolocationRequestMap.end());135 133 if (it == m_geolocationRequestMap.end()) 136 134 return;
Note: See TracChangeset
for help on using the changeset viewer.