Index: third_party/WebKit/Source/build/scripts/templates/fields/field.tmpl |
diff --git a/third_party/WebKit/Source/build/scripts/templates/fields/field.tmpl b/third_party/WebKit/Source/build/scripts/templates/fields/field.tmpl |
index 4ea422e216ee43446995951f3061123c37af8fdb..53c183e5b6199bbce1b0822857b74968eb1ea925 100644 |
--- a/third_party/WebKit/Source/build/scripts/templates/fields/field.tmpl |
+++ b/third_party/WebKit/Source/build/scripts/templates/fields/field.tmpl |
@@ -131,4 +131,8 @@ if ({{group.group_name}}.Get() != other.{{group.group_name}}.Get()) { |
if (self.{{expression}} != other.{{expression}}) |
return true; |
{% endfor %} |
+{% for predicate in group_to_diff.predicates %} |
+if (!self.{{predicate}}) |
+ return true; |
+{% endfor %} |
{% endmacro %} |