Index: third_party/WebKit/Source/core/frame/DOMTimerCoordinator.cpp |
diff --git a/third_party/WebKit/Source/core/frame/DOMTimerCoordinator.cpp b/third_party/WebKit/Source/core/frame/DOMTimerCoordinator.cpp |
index e9311351a96a3eeec2cfae6bedbe32d40487b759..01e4007345710e22d4792ddf826b75145e486144 100644 |
--- a/third_party/WebKit/Source/core/frame/DOMTimerCoordinator.cpp |
+++ b/third_party/WebKit/Source/core/frame/DOMTimerCoordinator.cpp |
@@ -44,6 +44,11 @@ DOMTimer* DOMTimerCoordinator::removeTimeoutByID(int timeoutID) |
return removedTimer; |
} |
+bool DOMTimerCoordinator::hasInstalledTimeout() const |
+{ |
+ return !m_timers.isEmpty(); |
+} |
+ |
DEFINE_TRACE(DOMTimerCoordinator) |
{ |
visitor->trace(m_timers); |