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 8f0d15d8ca90b30cf9ec2095c01454c4aa62cd36..1538c97f0640928df413dcd2211396e7751f649f 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 %} |