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()); |