Commit 25e98ad6 authored by weinig@apple.com's avatar weinig@apple.com

Stub out WorkerScriptController::disableEval for v8 to fix the build.

* bindings/v8/WorkerScriptController.cpp:
(WebCore::WorkerScriptController::disableEval):
* bindings/v8/WorkerScriptController.h:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@96669 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 9df8a17a
2011-10-04 Sam Weinig <sam@webkit.org>
Stub out WorkerScriptController::disableEval for v8 to fix the build.
* bindings/v8/WorkerScriptController.cpp:
(WebCore::WorkerScriptController::disableEval):
* bindings/v8/WorkerScriptController.h:
2011-10-04 Sam Weinig <sam@webkit.org>
OVERRIDE seems to not be working for Windows. Remove it for now.
......@@ -109,6 +109,10 @@ bool WorkerScriptController::isExecutionForbidden() const
return m_executionForbidden;
}
void WorkerScriptController::disableEval()
{
}
void WorkerScriptController::setException(ScriptValue exception)
{
throwError(*exception.v8Value());
......
......@@ -72,6 +72,8 @@ namespace WebCore {
void forbidExecution();
bool isExecutionForbidden() const;
void disableEval();
// Returns WorkerScriptController for the currently executing context. 0 will be returned if the current executing context is not the worker context.
static WorkerScriptController* controllerForContext();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment