| Index: third_party/WebKit/Source/bindings/tests/results/core/VoidCallbackFunctionInterfaceArg.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/tests/results/core/VoidCallbackFunctionInterfaceArg.cpp b/third_party/WebKit/Source/bindings/tests/results/core/VoidCallbackFunctionInterfaceArg.cpp
|
| index a0781ed9adbe63383cf53f96baf7889c1b52bc78..c69f2c1f8943060aba5383865f8305c1ac8dff8b 100644
|
| --- a/third_party/WebKit/Source/bindings/tests/results/core/VoidCallbackFunctionInterfaceArg.cpp
|
| +++ b/third_party/WebKit/Source/bindings/tests/results/core/VoidCallbackFunctionInterfaceArg.cpp
|
| @@ -81,7 +81,10 @@ bool VoidCallbackFunctionInterfaceArg::call(ScriptWrappable* scriptWrappable, HT
|
| }
|
|
|
| VoidCallbackFunctionInterfaceArg* NativeValueTraits<VoidCallbackFunctionInterfaceArg>::nativeValue(v8::Isolate* isolate, v8::Local<v8::Value> value, ExceptionState& exceptionState) {
|
| - return VoidCallbackFunctionInterfaceArg::create(ScriptState::current(isolate), value);
|
| + VoidCallbackFunctionInterfaceArg* nativeValue = VoidCallbackFunctionInterfaceArg::create(ScriptState::current(isolate), value);
|
| + if (!nativeValue)
|
| + exceptionState.throwTypeError("Unable to convert value to VoidCallbackFunctionInterfaceArg.");
|
| + return nativeValue;
|
| }
|
|
|
| } // namespace blink
|
|
|