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