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 9a8cdb52c2c7f20dcddecedf4d3737711511f025..f2cedbcb67c6011afe518c3c7f6a7a51b486d540 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 %} |