| Index: Source/core/page/DOMWindow.cpp
|
| diff --git a/Source/core/page/DOMWindow.cpp b/Source/core/page/DOMWindow.cpp
|
| index 91af94846ad7a7891bc4672663ff139adfca6788..3a5121c1bdd8ac737a6460e5c0fe54d8c3be4991 100644
|
| --- a/Source/core/page/DOMWindow.cpp
|
| +++ b/Source/core/page/DOMWindow.cpp
|
| @@ -1400,13 +1400,13 @@ void DOMWindow::resizeTo(float width, float height) const
|
| void DOMWindow::clearTimeout(int timeoutID)
|
| {
|
| if (ScriptExecutionContext* context = scriptExecutionContext())
|
| - DOMTimer::removeByID(context, timeoutID);
|
| + DOMTimer::removeByIDIfTypeMatches(context, DOMTimer::TimerTypeTimeout, timeoutID);
|
| }
|
|
|
| void DOMWindow::clearInterval(int timeoutID)
|
| {
|
| if (ScriptExecutionContext* context = scriptExecutionContext())
|
| - DOMTimer::removeByID(context, timeoutID);
|
| + DOMTimer::removeByIDIfTypeMatches(context, DOMTimer::TimerTypeInterval, timeoutID);
|
| }
|
|
|
| static LayoutSize size(HTMLImageElement* image)
|
|
|