summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/Timer.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/platform/Timer.h')
-rw-r--r--WebCore/platform/Timer.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/WebCore/platform/Timer.h b/WebCore/platform/Timer.h
index 9221df0..c4443da 100644
--- a/WebCore/platform/Timer.h
+++ b/WebCore/platform/Timer.h
@@ -101,6 +101,12 @@ private:
TimerFiredFunction m_function;
};
+inline bool TimerBase::isActive() const
+{
+ ASSERT(m_thread == currentThread());
+ return m_nextFireTime;
+}
+
}
#endif