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 72ec02ec743ec803b1ecb971e772299f504bc095..ccdbb4711a1b58706b59d457b58e954487bbbb6a 100644 |
--- a/third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.h.tmpl |
+++ b/third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.h.tmpl |
@@ -29,7 +29,7 @@ class CORE_EXPORT ComputedStyleBase { |
public: |
inline bool independentInheritedEqual(const ComputedStyleBase& o) const { |
return ( |
- {% for field in fields if field.is_property and field.is_inherited and field.is_independent %} |
+ {% for field in fields if field.is_inherited and field.is_independent %} |
{{field.name}} == o.{{field.name}}{{print_if(not loop.last, ' &&')}} |
{% endfor %} |
); |
@@ -37,7 +37,7 @@ class CORE_EXPORT ComputedStyleBase { |
inline bool nonIndependentInheritedEqual(const ComputedStyleBase& o) const { |
return ( |
- {% for field in fields if field.is_property and field.is_inherited and not field.is_independent %} |
+ {% for field in fields if field.is_inherited and not field.is_independent %} |
{{field.name}} == o.{{field.name}}{{print_if(not loop.last, ' &&')}} |
{% endfor %} |
); |