| Index: Source/bindings/core/v8/ScriptFunctionCall.cpp
|
| diff --git a/Source/bindings/core/v8/ScriptFunctionCall.cpp b/Source/bindings/core/v8/ScriptFunctionCall.cpp
|
| index 63e95db99f4f34d3d303931935c3c31a0ff1cfd5..03f58c2e745d863e41a726c07a06b1c2789a234a 100644
|
| --- a/Source/bindings/core/v8/ScriptFunctionCall.cpp
|
| +++ b/Source/bindings/core/v8/ScriptFunctionCall.cpp
|
| @@ -120,8 +120,8 @@ ScriptValue ScriptFunctionCall::call(bool& hadException, bool reportExceptions)
|
| ASSERT(!info[i].IsEmpty());
|
| }
|
|
|
| - v8::Local<v8::Value> result = V8ScriptRunner::callFunction(function, m_scriptState->executionContext(), thisObject, m_arguments.size(), info.get(), m_scriptState->isolate());
|
| - if (tryCatch.HasCaught()) {
|
| + v8::Local<v8::Value> result;
|
| + if (!V8ScriptRunner::callFunction(function, m_scriptState->executionContext(), thisObject, m_arguments.size(), info.get(), m_scriptState->isolate()).ToLocal(&result)) {
|
| hadException = true;
|
| return ScriptValue();
|
| }
|
|
|