| Index: third_party/WebKit/Source/bindings/tests/results/core/V8TestDictionaryDerived.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/tests/results/core/V8TestDictionaryDerived.cpp b/third_party/WebKit/Source/bindings/tests/results/core/V8TestDictionaryDerived.cpp
|
| index f214a713feceeb68d6668453e119f939ca4af76e..f0f01030d07e1a4c5ea9888e3134545dd9cbb4a3 100644
|
| --- a/third_party/WebKit/Source/bindings/tests/results/core/V8TestDictionaryDerived.cpp
|
| +++ b/third_party/WebKit/Source/bindings/tests/results/core/V8TestDictionaryDerived.cpp
|
| @@ -14,8 +14,10 @@ namespace blink {
|
|
|
| void V8TestDictionaryDerivedImplementedAs::toImpl(v8::Isolate* isolate, v8::Local<v8::Value> v8Value, TestDictionaryDerivedImplementedAs& impl, ExceptionState& exceptionState)
|
| {
|
| - if (isUndefinedOrNull(v8Value))
|
| + if (isUndefinedOrNull(v8Value)) {
|
| + exceptionState.throwTypeError("Missing required member(s): requiredLongMember.");
|
| return;
|
| + }
|
| if (!v8Value->IsObject()) {
|
| exceptionState.throwTypeError("cannot convert to dictionary.");
|
| return;
|
|
|