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