| Index: third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceConstructor2.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceConstructor2.cpp b/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceConstructor2.cpp
|
| index b1e83bcec9cfead607f022dd05e88f2cb8b345f5..c7802d388f4570fa1fb542601bae34dc5db6f70c 100644
|
| --- a/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceConstructor2.cpp
|
| +++ b/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceConstructor2.cpp
|
| @@ -268,8 +268,10 @@ TestInterfaceConstructor2* V8TestInterfaceConstructor2::toImplWithTypeCheck(v8::
|
|
|
| TestInterfaceConstructor2* NativeValueTraits<TestInterfaceConstructor2>::NativeValue(v8::Isolate* isolate, v8::Local<v8::Value> value, ExceptionState& exceptionState) {
|
| TestInterfaceConstructor2* nativeValue = V8TestInterfaceConstructor2::toImplWithTypeCheck(isolate, value);
|
| - if (!nativeValue)
|
| - exceptionState.ThrowTypeError("Unable to convert value to TestInterfaceConstructor2.");
|
| + if (!nativeValue) {
|
| + exceptionState.ThrowTypeError(ExceptionMessages::FailedToConvertJSValue(
|
| + "TestInterfaceConstructor2"));
|
| + }
|
| return nativeValue;
|
| }
|
|
|
|
|