Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(131)

Unified Diff: third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.h.tmpl

Issue 2759343002: Generate inherited nonproperties insideLink and hasSimpleUnderline. (Closed)
Patch Set: Rebase Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 %}
);

Powered by Google App Engine
This is Rietveld 408576698