| Index: Source/bindings/core/v8/V8NodeFilterCondition.cpp
|
| diff --git a/Source/bindings/core/v8/V8NodeFilterCondition.cpp b/Source/bindings/core/v8/V8NodeFilterCondition.cpp
|
| index 803f318f1c39000ae42504cd96c74d2a89152ae7..ef76e20a9aff98e639924c1b11343a007d700cb9 100644
|
| --- a/Source/bindings/core/v8/V8NodeFilterCondition.cpp
|
| +++ b/Source/bindings/core/v8/V8NodeFilterCondition.cpp
|
| @@ -93,9 +93,8 @@ short V8NodeFilterCondition::acceptNode(Node* node, ExceptionState& exceptionSta
|
| OwnPtr<v8::Local<v8::Value>[]> info = adoptArrayPtr(new v8::Local<v8::Value>[1]);
|
| info[0] = toV8(node, m_scriptState->context()->Global(), isolate);
|
|
|
| - v8::Local<v8::Value> result = ScriptController::callFunction(m_scriptState->executionContext(), callback, receiver, 1, info.get(), isolate);
|
| -
|
| - if (exceptionCatcher.HasCaught()) {
|
| + v8::Local<v8::Value> result;
|
| + if (!ScriptController::callFunction(m_scriptState->executionContext(), callback, receiver, 1, info.get(), isolate).ToLocal(&result)) {
|
| exceptionState.rethrowV8Exception(exceptionCatcher.Exception());
|
| return NodeFilter::FILTER_REJECT;
|
| }
|
|
|