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