Index: third_party/WebKit/Source/bindings/core/v8/V8Binding.cpp |
diff --git a/third_party/WebKit/Source/bindings/core/v8/V8Binding.cpp b/third_party/WebKit/Source/bindings/core/v8/V8Binding.cpp |
index fa81e2e12f2c46e21badf8b16895d60e4e598abf..3de1fbc39ba77cd288e31f14ab999e24abd5b311 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/V8Binding.cpp |
+++ b/third_party/WebKit/Source/bindings/core/v8/V8Binding.cpp |
@@ -103,9 +103,6 @@ NodeFilter* toNodeFilter(v8::Local<v8::Value> callback, v8::Local<v8::Object> cr |
NodeFilter* filter = NodeFilter::create(); |
v8::Local<v8::Value> filterWrapper = toV8(filter, creationContext, scriptState->isolate()); |
- if (filterWrapper.IsEmpty()) |
- return nullptr; |
- |
NodeFilterCondition* condition = V8NodeFilterCondition::create(callback, filterWrapper.As<v8::Object>(), scriptState); |
filter->setCondition(condition); |