Index: Source/bindings/templates/dictionary_v8.cpp |
diff --git a/Source/bindings/templates/dictionary_v8.cpp b/Source/bindings/templates/dictionary_v8.cpp |
index 2b3c32e728c403ff49c79d3063e910323e1fe822..82c6e9accf1d60a42ae7ed24b8c2baf9d2235c02 100644 |
--- a/Source/bindings/templates/dictionary_v8.cpp |
+++ b/Source/bindings/templates/dictionary_v8.cpp |
@@ -21,7 +21,7 @@ namespace blink { |
Dictionary dictionary(v8Value, isolate); |
{% for member in members %} |
{{member.cpp_type}} {{member.name}}; |
- if (DictionaryHelper::get(dictionary, "{{member.name}}", {{member.name}})) |
+ if (DictionaryHelper::getWithUndefinedOrNullCheck(dictionary, "{{member.name}}", {{member.name}})) |
impl->{{member.setter_name}}({{member.name}}); |
{% endfor %} |
return impl; |