| Index: third_party/WebKit/Source/bindings/tests/results/modules/VoidCallbackFunctionModules.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/tests/results/modules/VoidCallbackFunctionModules.cpp b/third_party/WebKit/Source/bindings/tests/results/modules/VoidCallbackFunctionModules.cpp
|
| index 0b8996149be3bbf81374a4a14c92ab1aed968231..fdfd5feff305db93b801a5a58c841e105bd50d7b 100644
|
| --- a/third_party/WebKit/Source/bindings/tests/results/modules/VoidCallbackFunctionModules.cpp
|
| +++ b/third_party/WebKit/Source/bindings/tests/results/modules/VoidCallbackFunctionModules.cpp
|
| @@ -80,8 +80,10 @@ bool VoidCallbackFunctionModules::call(ScriptWrappable* scriptWrappable) {
|
|
|
| VoidCallbackFunctionModules* NativeValueTraits<VoidCallbackFunctionModules>::NativeValue(v8::Isolate* isolate, v8::Local<v8::Value> value, ExceptionState& exceptionState) {
|
| VoidCallbackFunctionModules* nativeValue = VoidCallbackFunctionModules::Create(ScriptState::Current(isolate), value);
|
| - if (!nativeValue)
|
| - exceptionState.ThrowTypeError("Unable to convert value to VoidCallbackFunctionModules.");
|
| + if (!nativeValue) {
|
| + exceptionState.ThrowTypeError(ExceptionMessages::FailedToConvertJSValue(
|
| + "VoidCallbackFunctionModules"));
|
| + }
|
| return nativeValue;
|
| }
|
|
|
|
|