| Index: third_party/WebKit/Source/bindings/tests/results/core/V8TestException.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/tests/results/core/V8TestException.cpp b/third_party/WebKit/Source/bindings/tests/results/core/V8TestException.cpp
|
| index 9379d7b818292f495e1cad097e3d2fbd848e699f..934fd9aca8ca2168716e1bb76e923742a6855807 100644
|
| --- a/third_party/WebKit/Source/bindings/tests/results/core/V8TestException.cpp
|
| +++ b/third_party/WebKit/Source/bindings/tests/results/core/V8TestException.cpp
|
| @@ -141,6 +141,7 @@ v8::Local<v8::FunctionTemplate> V8TestException::domTemplate(v8::Isolate* isolat
|
| return V8DOMConfiguration::domClassTemplate(isolate, world, const_cast<WrapperTypeInfo*>(&wrapperTypeInfo), installV8TestExceptionTemplate);
|
| }
|
|
|
| +
|
| bool V8TestException::hasInstance(v8::Local<v8::Value> v8Value, v8::Isolate* isolate)
|
| {
|
| return V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, v8Value);
|
| @@ -153,7 +154,7 @@ v8::Local<v8::Object> V8TestException::findInstanceInPrototypeChain(v8::Local<v8
|
|
|
| TestException* V8TestException::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
|
|
|