Index: Source/core/dom/ScriptExecutionContext.h |
diff --git a/Source/core/dom/ScriptExecutionContext.h b/Source/core/dom/ScriptExecutionContext.h |
index d438f53a92cc5f3bb741082fd4d247b0f9f239d3..15e3ba1a9431247378b197b0177c3cc308401515 100644 |
--- a/Source/core/dom/ScriptExecutionContext.h |
+++ b/Source/core/dom/ScriptExecutionContext.h |
@@ -168,8 +168,8 @@ private: |
virtual PassOwnPtr<LifecycleNotifier> createLifecycleNotifier() OVERRIDE; |
// Implementation details for DOMTimer. No other classes should call these functions. |
- int installNewTimeout(PassOwnPtr<ScheduledAction>, int timeout, bool singleShot); |
- void removeTimeoutByID(int timeoutID); // This makes underlying DOMTimer instance destructed. |
+ int installNewTimeout(DOMTimer::Type, PassOwnPtr<ScheduledAction>, int timeout); |
+ bool removeTimeoutByIDIfTypeMatches(DOMTimer::Type, int timeoutID); // This makes underlying DOMTimer instance destructed. Returns true if removed. |
HashSet<MessagePort*> m_messagePorts; |