Index: Source/bindings/v8/V8ScriptRunner.cpp |
diff --git a/Source/bindings/v8/V8ScriptRunner.cpp b/Source/bindings/v8/V8ScriptRunner.cpp |
index 46e4c3c2da2f9bcefd59f371a641f5bd82939e78..9412ae641204025aa29516f0ad8441e300d8c12d 100644 |
--- a/Source/bindings/v8/V8ScriptRunner.cpp |
+++ b/Source/bindings/v8/V8ScriptRunner.cpp |
@@ -75,7 +75,7 @@ v8::Local<v8::Script> V8ScriptRunner::compileScript(v8::Handle<v8::String> code, |
return v8::Script::Compile(code, &origin, scriptData); |
} |
-v8::Local<v8::Value> V8ScriptRunner::runCompiledScript(v8::Handle<v8::Script> script, ScriptExecutionContext* context) |
+v8::Local<v8::Value> V8ScriptRunner::runCompiledScript(v8::Handle<v8::Script> script, ScriptExecutionContext* context, v8::Isolate* isolate) |
marja
2013/09/06 11:57:16
I'm not sure about this... there's also getIsolate
|
{ |
TRACE_EVENT0("v8", "v8.run"); |
TRACE_EVENT_SCOPED_SAMPLING_STATE("V8", "Execution"); |
@@ -83,7 +83,7 @@ v8::Local<v8::Value> V8ScriptRunner::runCompiledScript(v8::Handle<v8::Script> sc |
return v8::Local<v8::Value>(); |
if (V8RecursionScope::recursionLevel() >= kMaxRecursionDepth) |
- return handleMaxRecursionDepthExceeded(); |
+ return handleMaxRecursionDepthExceeded(isolate); |
if (handleOutOfMemory()) |
return v8::Local<v8::Value>(); |
@@ -119,13 +119,13 @@ v8::Local<v8::Value> V8ScriptRunner::compileAndRunInternalScript(v8::Handle<v8:: |
return result; |
} |
-v8::Local<v8::Value> V8ScriptRunner::callFunction(v8::Handle<v8::Function> function, ScriptExecutionContext* context, v8::Handle<v8::Object> receiver, int argc, v8::Handle<v8::Value> args[]) |
+v8::Local<v8::Value> V8ScriptRunner::callFunction(v8::Handle<v8::Function> function, ScriptExecutionContext* context, v8::Handle<v8::Object> receiver, int argc, v8::Handle<v8::Value> args[], v8::Isolate* isolate) |
{ |
TRACE_EVENT0("v8", "v8.callFunction"); |
TRACE_EVENT_SCOPED_SAMPLING_STATE("V8", "Execution"); |
if (V8RecursionScope::recursionLevel() >= kMaxRecursionDepth) |
- return handleMaxRecursionDepthExceeded(); |
+ return handleMaxRecursionDepthExceeded(isolate); |
V8RecursionScope recursionScope(context); |
v8::Local<v8::Value> result = function->Call(receiver, argc, args); |