diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-05 21:35:19 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-05 21:35:19 +0000 |
commit | 473e3b51436bdad8e42b73735d2200a478c9c936 (patch) | |
tree | 983997b1e589ec49af70fd75f469b96331f44ad6 /webkit/port | |
parent | 645a272c48c4f08b704a40ef2afad02a94072b32 (diff) | |
download | chromium_src-473e3b51436bdad8e42b73735d2200a478c9c936.zip chromium_src-473e3b51436bdad8e42b73735d2200a478c9c936.tar.gz chromium_src-473e3b51436bdad8e42b73735d2200a478c9c936.tar.bz2 |
Fix build break when ENABLE_WORKERS is set
Review URL: http://codereview.chromium.org/21096
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9261 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/port')
-rw-r--r-- | webkit/port/bindings/v8/WorkerScriptController.cpp | 9 |
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) |