| Index: third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceNode.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceNode.cpp b/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceNode.cpp
|
| index 3a808f9bf51d0e687fbea4a6e2dfcb39c3a7e692..18d4a7d55a4ead941772e633b51ff0d8d6742547 100644
|
| --- a/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceNode.cpp
|
| +++ b/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceNode.cpp
|
| @@ -341,6 +341,7 @@ v8::Local<v8::FunctionTemplate> V8TestInterfaceNode::domTemplate(v8::Isolate* is
|
| return V8DOMConfiguration::domClassTemplate(isolate, world, const_cast<WrapperTypeInfo*>(&wrapperTypeInfo), installV8TestInterfaceNodeTemplate);
|
| }
|
|
|
| +
|
| bool V8TestInterfaceNode::hasInstance(v8::Local<v8::Value> v8Value, v8::Isolate* isolate)
|
| {
|
| return V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, v8Value);
|
| @@ -353,7 +354,7 @@ v8::Local<v8::Object> V8TestInterfaceNode::findInstanceInPrototypeChain(v8::Loca
|
|
|
| TestInterfaceNode* V8TestInterfaceNode::toImplWithTypeCheck(v8::Isolate* isolate, v8::Local<v8::Value> value)
|
| {
|
| - return hasInstance(value, isolate) ? toImpl(v8::Local<v8::Object>::Cast(value)) : 0;
|
| + return hasInstance(value, isolate) ? toImpl(v8::Local<v8::Object>::Cast(value)) : nullptr;
|
| }
|
|
|
| } // namespace blink
|
|
|