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

Unified Diff: Source/core/workers/WorkerGlobalScope.cpp

Issue 19801002: Drop [LegacyImplementedInBaseClass] attribute from WindowTimers (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Attempt to make the try bots happy 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
« no previous file with comments | « Source/core/workers/WorkerGlobalScope.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/workers/WorkerGlobalScope.cpp
diff --git a/Source/core/workers/WorkerGlobalScope.cpp b/Source/core/workers/WorkerGlobalScope.cpp
index 2321ebf94dbbea6604e0d30d10c17966b55123a3..a289ff453d5369066928181027cfc5e129320ddf 100644
--- a/Source/core/workers/WorkerGlobalScope.cpp
+++ b/Source/core/workers/WorkerGlobalScope.cpp
@@ -43,7 +43,6 @@
#include "core/inspector/WorkerInspectorController.h"
#include "core/loader/WorkerThreadableLoader.h"
#include "core/page/ContentSecurityPolicy.h"
-#include "core/page/DOMTimer.h"
#include "core/page/DOMWindow.h"
#include "core/page/WorkerNavigator.h"
#include "core/platform/NotImplemented.h"
@@ -179,31 +178,11 @@ void WorkerGlobalScope::postTask(PassOwnPtr<Task> task)
thread()->runLoop().postTask(task);
}
-int WorkerGlobalScope::setTimeout(PassOwnPtr<ScheduledAction> action, int timeout)
-{
- return DOMTimer::install(scriptExecutionContext(), action, timeout, true);
-}
-
-void WorkerGlobalScope::clearTimeout(int timeoutID)
-{
- DOMTimer::removeByID(scriptExecutionContext(), timeoutID);
-}
-
void WorkerGlobalScope::clearInspector()
{
m_workerInspectorController.clear();
}
-int WorkerGlobalScope::setInterval(PassOwnPtr<ScheduledAction> action, int timeout)
-{
- return DOMTimer::install(scriptExecutionContext(), action, timeout, false);
-}
-
-void WorkerGlobalScope::clearInterval(int timeoutID)
-{
- DOMTimer::removeByID(scriptExecutionContext(), timeoutID);
-}
-
void WorkerGlobalScope::importScripts(const Vector<String>& urls, ExceptionCode& ec)
{
ASSERT(contentSecurityPolicy());
« no previous file with comments | « Source/core/workers/WorkerGlobalScope.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698