| Index: third_party/WebKit/Source/bindings/tests/results/core/V8TestIntegerIndexed.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/tests/results/core/V8TestIntegerIndexed.cpp b/third_party/WebKit/Source/bindings/tests/results/core/V8TestIntegerIndexed.cpp
|
| index a0cac5e38eb63bc716b3404e43f3fa3d1ae624a3..1c69f50cb81a045a9e22687de4a7c9ed0310fcfe 100644
|
| --- a/third_party/WebKit/Source/bindings/tests/results/core/V8TestIntegerIndexed.cpp
|
| +++ b/third_party/WebKit/Source/bindings/tests/results/core/V8TestIntegerIndexed.cpp
|
| @@ -214,7 +214,10 @@ TestIntegerIndexed* V8TestIntegerIndexed::toImplWithTypeCheck(v8::Isolate* isola
|
| }
|
|
|
| TestIntegerIndexed* NativeValueTraits<TestIntegerIndexed>::nativeValue(v8::Isolate* isolate, v8::Local<v8::Value> value, ExceptionState& exceptionState) {
|
| - return V8TestIntegerIndexed::toImplWithTypeCheck(isolate, value);
|
| + TestIntegerIndexed* nativeValue = V8TestIntegerIndexed::toImplWithTypeCheck(isolate, value);
|
| + if (!nativeValue)
|
| + exceptionState.throwTypeError("Unable to convert value to TestIntegerIndexed.");
|
| + return nativeValue;
|
| }
|
|
|
| } // namespace blink
|
|
|