| Index: third_party/WebKit/Source/bindings/core/v8/ToV8.h
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/ToV8.h b/third_party/WebKit/Source/bindings/core/v8/ToV8.h
|
| index 76aa60c08e36ed2c455bc6b6f7b11c441519079b..012185924ed5fd4a2f0d47facdd24392c32bdb19 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/ToV8.h
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/ToV8.h
|
| @@ -46,15 +46,7 @@ inline v8::Local<v8::Value> ToV8(ScriptWrappable* impl,
|
| inline v8::Local<v8::Value> ToV8(Node* impl,
|
| v8::Local<v8::Object> creationContext,
|
| v8::Isolate* isolate) {
|
| - if (UNLIKELY(!impl))
|
| - return v8::Null(isolate);
|
| - v8::Local<v8::Value> wrapper = DOMDataStore::getWrapper(impl, isolate);
|
| - if (!wrapper.IsEmpty())
|
| - return wrapper;
|
| -
|
| - wrapper = ScriptWrappable::fromNode(impl)->wrap(isolate, creationContext);
|
| - DCHECK(!wrapper.IsEmpty());
|
| - return wrapper;
|
| + return ToV8(ScriptWrappable::fromNode(impl), creationContext, isolate);
|
| }
|
|
|
| // Special versions for DOMWindow and EventTarget
|
|
|