| Index: third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceNamedConstructor2.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceNamedConstructor2.cpp b/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceNamedConstructor2.cpp
|
| index af24a78c56f788311fc8957ad9a38355bf3b3dd7..b0f751f8cace397ace4155ce97ee7a331aae0b5d 100644
|
| --- a/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceNamedConstructor2.cpp
|
| +++ b/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceNamedConstructor2.cpp
|
| @@ -171,7 +171,10 @@ TestInterfaceNamedConstructor2* V8TestInterfaceNamedConstructor2::toImplWithType
|
| }
|
|
|
| TestInterfaceNamedConstructor2* NativeValueTraits<TestInterfaceNamedConstructor2>::nativeValue(v8::Isolate* isolate, v8::Local<v8::Value> value, ExceptionState& exceptionState) {
|
| - return V8TestInterfaceNamedConstructor2::toImplWithTypeCheck(isolate, value);
|
| + TestInterfaceNamedConstructor2* nativeValue = V8TestInterfaceNamedConstructor2::toImplWithTypeCheck(isolate, value);
|
| + if (!nativeValue)
|
| + exceptionState.throwTypeError("Unable to convert value to TestInterfaceNamedConstructor2.");
|
| + return nativeValue;
|
| }
|
|
|
| } // namespace blink
|
|
|