Index: third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.h.tmpl |
diff --git a/third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.h.tmpl b/third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.h.tmpl |
index 65ce7ae7e42c2fb7729dd2a6aee47f4242219e79..4d6e668571d57527382a82b3ec31ddd109fef4bb 100644 |
--- a/third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.h.tmpl |
+++ b/third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.h.tmpl |
@@ -39,6 +39,7 @@ class CORE_EXPORT ComputedStyleBase { |
inline bool IndependentInheritedEqual(const ComputedStyleBase& o) const { |
return ( |
{{fieldwise_compare(computed_style, computed_style.all_fields |
+ |selectattr("is_property") |
|selectattr("is_inherited") |
|selectattr("is_independent") |
|list |
@@ -50,6 +51,7 @@ class CORE_EXPORT ComputedStyleBase { |
inline bool NonIndependentInheritedEqual(const ComputedStyleBase& o) const { |
return ( |
{{fieldwise_compare(computed_style, computed_style.all_fields |
+ |selectattr("is_property") |
|selectattr("is_inherited") |
|rejectattr("is_independent") |
|list |
@@ -66,6 +68,7 @@ class CORE_EXPORT ComputedStyleBase { |
return ( |
{{fieldwise_compare(computed_style, computed_style.all_fields |
|selectattr("is_property") |
+ |rejectattr("has_custom_compare_and_copy") |
|rejectattr("is_inherited") |
|list |
)|indent(8)}} |