diff options
Diffstat (limited to 'WebCore/page/Geolocation.cpp')
-rw-r--r-- | WebCore/page/Geolocation.cpp | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/WebCore/page/Geolocation.cpp b/WebCore/page/Geolocation.cpp index 96fe564..7dcf0a1 100644 --- a/WebCore/page/Geolocation.cpp +++ b/WebCore/page/Geolocation.cpp @@ -221,17 +221,12 @@ Geolocation::~Geolocation() { } -void Geolocation::stop() -{ - m_oneShots.clear(); - m_watchers.clear(); - stopUpdating(); -} - void Geolocation::disconnectFrame() { if (m_frame && m_frame->page() && m_allowGeolocation == InProgress) m_frame->page()->chrome()->cancelGeolocationPermissionRequestForFrame(m_frame, this); + stopTimers(); + stopUpdating(); if (m_frame && m_frame->document()) m_frame->document()->setUsingGeolocation(false); m_frame = 0; @@ -688,8 +683,6 @@ Geolocation::~Geolocation() {} void Geolocation::setIsAllowed(bool) {} -void Geolocation::stop() {} - } #endif // ENABLE(GEOLOCATION) |