summaryrefslogtreecommitdiffstats
path: root/webkit/port
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/port')
-rw-r--r--webkit/port/bindings/v8/WorkerScriptController.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/webkit/port/bindings/v8/WorkerScriptController.cpp b/webkit/port/bindings/v8/WorkerScriptController.cpp
index 9e38c04..967a2d2 100644
--- a/webkit/port/bindings/v8/WorkerScriptController.cpp
+++ b/webkit/port/bindings/v8/WorkerScriptController.cpp
@@ -36,12 +36,21 @@
#include "ScriptSourceCode.h"
#include "ScriptValue.h"
#include "v8_proxy.h"
+#include "DOMTimer.h"
#include "WorkerContext.h"
#include "WorkerMessagingProxy.h"
#include "WorkerThread.h"
namespace WebCore {
+// TODO(dimich): Move these stubs once they're implemented.
+int DOMTimer::install(ScriptExecutionContext*, ScheduledAction*, int timeout,
+ bool singleShot) {
+ return 0;
+}
+void DOMTimer::removeById(ScriptExecutionContext*, int timeoutId) {
+}
+
WorkerScriptController::WorkerScriptController(WorkerContext* workerContext)
: m_workerContext(workerContext)
, m_executionForbidden(false)