| Index: third_party/WebKit/Source/bindings/core/v8/ScriptWrappable.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptWrappable.cpp b/third_party/WebKit/Source/bindings/core/v8/ScriptWrappable.cpp
|
| index fe38dab0ee7101690f1bf3c75e80d06f08e5798b..67b1369eb11ddfa75a63bd77292d4653cf6f944e 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/ScriptWrappable.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/ScriptWrappable.cpp
|
| @@ -24,9 +24,7 @@ v8::Local<v8::Object> ScriptWrappable::wrap(v8::Isolate* isolate, v8::Local<v8::
|
| ASSERT(!DOMDataStore::containsWrapper(this, isolate));
|
|
|
| v8::Local<v8::Object> wrapper = V8DOMWrapper::createWrapper(isolate, creationContext, wrapperTypeInfo);
|
| - if (UNLIKELY(wrapper.IsEmpty()))
|
| - return wrapper;
|
| -
|
| + DCHECK(!wrapper.IsEmpty());
|
| wrapperTypeInfo->installConditionallyEnabledProperties(wrapper, isolate);
|
| return associateWithWrapper(isolate, wrapperTypeInfo, wrapper);
|
| }
|
|
|