Index: third_party/WebKit/Source/build/scripts/templates/fields/external.tmpl |
diff --git a/third_party/WebKit/Source/build/scripts/templates/fields/external.tmpl b/third_party/WebKit/Source/build/scripts/templates/fields/external.tmpl |
index 08600f1ba6ad506735d3a56c41683a5bcb1a920e..60e54f25f62c3a0ab7028c3147f736a612f30f3e 100644 |
--- a/third_party/WebKit/Source/build/scripts/templates/fields/external.tmpl |
+++ b/third_party/WebKit/Source/build/scripts/templates/fields/external.tmpl |
@@ -6,7 +6,7 @@ |
{{base.decl_getter_method(field)}} |
{{base.decl_setter_method(field)}} |
void {{field.setter_method_name}}({{field.type_name}}&& v) { |
-{% if field.group_member_name %} |
+{% if field.group %} |
if (!({{getter_expression(field)}} == v)) |
{{setter_expression(field)}} = std::move(v); |
{% else %} |