Changeset 58061 in webkit
- Timestamp:
- Apr 21, 2010 11:32:06 PM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r58057 r58061 1 2010-04-21 Steve Block <steveblock@google.com> 2 3 Reviewed by Kenneth Rohde Christiansen. 4 5 Replace Geolocation::suspend()/resume() which are required by Android. 6 https://bugs.webkit.org/show_bug.cgi?id=37942 7 8 These methods were removed in Bug 36255. 9 10 Build fix only, no new tests. 11 12 * page/Geolocation.cpp: 13 (WebCore::Geolocation::suspend): 14 (WebCore::Geolocation::resume): 15 * page/Geolocation.h: 16 1 17 2010-04-21 Ray Rischpater <Raymond.Rischpater@Nokia.com> 2 18 -
trunk/WebCore/page/Geolocation.cpp
r57194 r58061 380 380 } 381 381 382 void Geolocation::suspend() 383 { 384 #if !ENABLE(CLIENT_BASED_GEOLOCATION) 385 if (hasListeners()) 386 m_service->suspend(); 387 #endif 388 } 389 390 void Geolocation::resume() 391 { 392 #if !ENABLE(CLIENT_BASED_GEOLOCATION) 393 if (hasListeners()) 394 m_service->resume(); 395 #endif 396 } 397 382 398 void Geolocation::setIsAllowed(bool allowed) 383 399 { -
trunk/WebCore/page/Geolocation.h
r57194 r58061 61 61 int watchPosition(PassRefPtr<PositionCallback>, PassRefPtr<PositionErrorCallback>, PassRefPtr<PositionOptions>); 62 62 void clearWatch(int watchId); 63 64 // These methods are used by Android. 65 void suspend(); 66 void resume(); 63 67 64 68 void setIsAllowed(bool);
Note: See TracChangeset
for help on using the changeset viewer.