Index: Source/bindings/v8/ScriptFunctionCall.cpp |
diff --git a/Source/bindings/v8/ScriptFunctionCall.cpp b/Source/bindings/v8/ScriptFunctionCall.cpp |
index a4baf988e2506c44e8904d7faf4b364c1be66f0e..718ba7965e1ef0e12857ea382182e1554357fa4e 100644 |
--- a/Source/bindings/v8/ScriptFunctionCall.cpp |
+++ b/Source/bindings/v8/ScriptFunctionCall.cpp |
@@ -133,7 +133,7 @@ ScriptValue ScriptFunctionCall::call(bool& hadException, bool reportExceptions) |
ASSERT(!args[i].IsEmpty()); |
} |
- v8::Local<v8::Value> result = V8ScriptRunner::callFunction(function, getScriptExecutionContext(), thisObject, m_arguments.size(), args.get()); |
+ v8::Local<v8::Value> result = V8ScriptRunner::callFunction(function, getScriptExecutionContext(), thisObject, m_arguments.size(), args.get(), m_scriptState->isolate()); |
if (!scope.success()) { |
hadException = true; |
return ScriptValue(); |
@@ -195,7 +195,7 @@ ScriptValue ScriptCallback::call() |
for (size_t i = 0; i < m_arguments.size(); ++i) |
args[i] = m_arguments[i].v8Value(); |
- v8::Handle<v8::Value> result = ScriptController::callFunctionWithInstrumentation(0, function, object, m_arguments.size(), args.get()); |
+ v8::Handle<v8::Value> result = ScriptController::callFunctionWithInstrumentation(0, function, object, m_arguments.size(), args.get(), m_scriptState->isolate()); |
return ScriptValue(result); |
} |