Index: third_party/WebKit/Source/core/dom/Node.cpp |
diff --git a/third_party/WebKit/Source/core/dom/Node.cpp b/third_party/WebKit/Source/core/dom/Node.cpp |
index 92175155dfbad4991f879ae7609a9f4f81199981..65aa7a8639fe8ebb48078eff3a4c1384c2bb639d 100644 |
--- a/third_party/WebKit/Source/core/dom/Node.cpp |
+++ b/third_party/WebKit/Source/core/dom/Node.cpp |
@@ -2369,9 +2369,7 @@ v8::Local<v8::Object> Node::wrap(v8::Isolate* isolate, v8::Local<v8::Object> cre |
const WrapperTypeInfo* wrapperType = wrapperTypeInfo(); |
v8::Local<v8::Object> wrapper = V8DOMWrapper::createWrapper(isolate, creationContext, wrapperType); |
- if (UNLIKELY(wrapper.IsEmpty())) |
- return wrapper; |
- |
+ DCHECK(!wrapper.IsEmpty()); |
wrapperType->installConditionallyEnabledProperties(wrapper, isolate); |
return associateWithWrapper(isolate, wrapperType, wrapper); |
} |