From 231d4e3152a9c27a73b6ac7badbe6be673aa3ddf Mon Sep 17 00:00:00 2001 From: Steve Block Date: Thu, 8 Oct 2009 17:19:54 +0100 Subject: Merge webkit.org at R49305 : Automatic merge by git. Change-Id: I8968561bc1bfd72b8923b7118d3728579c6dbcc7 --- WebCore/platform/Timer.cpp | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'WebCore/platform/Timer.cpp') diff --git a/WebCore/platform/Timer.cpp b/WebCore/platform/Timer.cpp index bd29fd8..539846c 100644 --- a/WebCore/platform/Timer.cpp +++ b/WebCore/platform/Timer.cpp @@ -53,11 +53,6 @@ static Vector& timerHeap() return threadGlobalData().threadTimers().timerHeap(); } -static HashSet& timersReadyToFire() -{ - return threadGlobalData().threadTimers().timersReadyToFire(); -} - // Class to represent elements in the heap when calling the standard library heap algorithms. // Maintains the m_heapIndex value in the timers themselves, which allows us to do efficient // modification of the heap. @@ -205,7 +200,7 @@ bool TimerBase::isActive() const { ASSERT(m_thread == currentThread()); - return m_nextFireTime || timersReadyToFire().contains(this); + return m_nextFireTime; } double TimerBase::nextFireInterval() const @@ -296,9 +291,6 @@ void TimerBase::setNextFireTime(double newTime) ASSERT(m_thread == currentThread()); // Keep heap valid while changing the next-fire time. - - timersReadyToFire().remove(this); - double oldTime = m_nextFireTime; if (oldTime != newTime) { m_nextFireTime = newTime; -- cgit v1.1