| Index: Source/bindings/templates/dictionary_v8.cpp
|
| diff --git a/Source/bindings/templates/dictionary_v8.cpp b/Source/bindings/templates/dictionary_v8.cpp
|
| index 823124424dd837482101e8ebbf17e64d6cf2d756..f2f9fefe4051d42c97cae4afa73e4cfa7bcfdd78 100644
|
| --- a/Source/bindings/templates/dictionary_v8.cpp
|
| +++ b/Source/bindings/templates/dictionary_v8.cpp
|
| @@ -72,7 +72,7 @@ void {{v8_class}}::toImpl(v8::Isolate* isolate, v8::Local<v8::Value> v8Value, {{
|
| {{declare_enum_validation_variable(member.enum_values) | indent(12)}}
|
| if (!isValidEnum({{member.name}}, validValues, WTF_ARRAY_LENGTH(validValues), "{{member.enum_type}}", exceptionState))
|
| return;
|
| - {% elif member.is_object %}
|
| + {% elif member.is_object or member.is_deprecated_dictionary %}
|
| if (!{{member.name}}.isObject()) {
|
| exceptionState.throwTypeError("member {{member.name}} is not an object.");
|
| return;
|
|
|