Index: third_party/WebKit/Source/bindings/core/v8/V8NodeFilterCondition.cpp |
diff --git a/third_party/WebKit/Source/bindings/core/v8/V8NodeFilterCondition.cpp b/third_party/WebKit/Source/bindings/core/v8/V8NodeFilterCondition.cpp |
index d1eadaa3a78e96b021e5daef3163c10b70edc263..a4f4c43b5001522c9c7af514e64f30346442c01c 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/V8NodeFilterCondition.cpp |
+++ b/third_party/WebKit/Source/bindings/core/v8/V8NodeFilterCondition.cpp |
@@ -93,12 +93,6 @@ unsigned V8NodeFilterCondition::acceptNode(Node* node, ExceptionState& exception |
} |
v8::Local<v8::Value> nodeWrapper = toV8(node, m_scriptState.get()); |
- if (nodeWrapper.IsEmpty()) { |
- if (exceptionCatcher.HasCaught()) |
- exceptionState.rethrowV8Exception(exceptionCatcher.Exception()); |
- return NodeFilter::kFilterReject; |
- } |
- |
v8::Local<v8::Value> result; |
v8::Local<v8::Value> args[] = { nodeWrapper }; |
if (!V8ScriptRunner::callFunction(callback, m_scriptState->getExecutionContext(), receiver, 1, args, isolate).ToLocal(&result)) { |