Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1267)

Unified Diff: Source/core/page/DOMWindow.cpp

Issue 19801002: Drop [LegacyImplementedInBaseClass] attribute from WindowTimers (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/page/DOMWindow.cpp
diff --git a/Source/core/page/DOMWindow.cpp b/Source/core/page/DOMWindow.cpp
index 6cde87e54c40971be7046abc00623c7a1cda25d4..c028cedb1bfaaeb40f356cd77a2f01473594fd72 100644
--- a/Source/core/page/DOMWindow.cpp
+++ b/Source/core/page/DOMWindow.cpp
@@ -74,7 +74,6 @@
#include "core/page/Console.h"
#include "core/page/CreateWindow.h"
#include "core/page/DOMPoint.h"
-#include "core/page/DOMTimer.h"
#include "core/page/EventHandler.h"
#include "core/page/Frame.h"
#include "core/page/FrameTree.h"
@@ -1361,18 +1360,6 @@ void DOMWindow::resizeTo(float width, float height) const
page->chrome().setWindowRect(adjustWindowRect(page, update));
}
-void DOMWindow::clearTimeout(int timeoutID)
-{
- if (ScriptExecutionContext* context = scriptExecutionContext())
- DOMTimer::removeByID(context, timeoutID);
-}
-
-void DOMWindow::clearInterval(int timeoutID)
-{
- if (ScriptExecutionContext* context = scriptExecutionContext())
- DOMTimer::removeByID(context, timeoutID);
-}
-
static LayoutSize size(HTMLImageElement* image)
{
if (CachedImage* cachedImage = image->cachedImage())

Powered by Google App Engine
This is Rietveld 408576698