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