Index: third_party/WebKit/Source/bindings/templates/dictionary_v8.cpp.tmpl |
diff --git a/third_party/WebKit/Source/bindings/templates/dictionary_v8.cpp.tmpl b/third_party/WebKit/Source/bindings/templates/dictionary_v8.cpp.tmpl |
index e1480637e527dee214e8662d1c8de61036d0f662..78cc47bd12e7eae372b681a7a6112bff380572f4 100644 |
--- a/third_party/WebKit/Source/bindings/templates/dictionary_v8.cpp.tmpl |
+++ b/third_party/WebKit/Source/bindings/templates/dictionary_v8.cpp.tmpl |
@@ -105,7 +105,7 @@ bool toV8{{cpp_class}}(const {{cpp_class}}& impl, v8::Local<v8::Object> dictiona |
{% for member in members %} |
if (impl.{{member.has_method_name}}()) { |
{% if member.is_object %} |
- DCHECK(impl.{{member.cpp_name}}().isObject()); |
+ DCHECK(impl.{{member.getter_name}}().isObject()); |
{% endif %} |
if (!v8CallBoolean(dictionary->CreateDataProperty(isolate->GetCurrentContext(), v8String(isolate, "{{member.name}}"), {{member.cpp_value_to_v8_value}}))) |
return false; |