Changeset 51133 in webkit
- Timestamp:
- Nov 18, 2009, 2:04:29 PM (16 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/WebCore/ChangeLog ¶
r51132 r51133 1 2009-11-18 Sam Weinig <sam@webkit.org> 2 3 Reviewed by Anders Carlsson. 4 5 Fix two Geolocation assertions. 6 7 * page/Chrome.cpp: 8 (WebCore::Chrome::requestGeolocationPermissionForFrame): No need to use PageGroupLoadDeferrer since this 9 is not called from JS. 10 * page/Geolocation.cpp: 11 (WebCore::Geolocation::Watchers::set): The PassRefPtr was getting nulled out, so we need to put it in 12 a RefPtr first. 13 1 14 2009-11-18 Alexey Proskuryakov <ap@apple.com> 2 15 -
TabularUnified trunk/WebCore/page/Chrome.cpp ¶
r50477 r51133 408 408 void Chrome::requestGeolocationPermissionForFrame(Frame* frame, Geolocation* geolocation) 409 409 { 410 // Defer loads in case the client method runs a new event loop that would411 // otherwise cause the load to continue while we're in the middle of executing JavaScript.412 PageGroupLoadDeferrer deferrer(m_page, true);413 414 ASSERT(frame);415 410 m_client->requestGeolocationPermissionForFrame(frame, geolocation); 416 411 } -
TabularUnified trunk/WebCore/page/Geolocation.cpp ¶
r50605 r51133 89 89 } 90 90 91 void Geolocation::Watchers::set(int id, PassRefPtr<GeoNotifier> notifier) 92 { 93 m_idToNotifierMap.set(id, notifier); 94 m_notifierToIdMap.set(notifier, id); 91 void Geolocation::Watchers::set(int id, PassRefPtr<GeoNotifier> prpNotifier) 92 { 93 RefPtr<GeoNotifier> notifier = prpNotifier; 94 95 m_idToNotifierMap.set(id, notifier.get()); 96 m_notifierToIdMap.set(notifier.release(), id); 95 97 } 96 98
Note:
See TracChangeset
for help on using the changeset viewer.