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

Unified Diff: Source/build/scripts/templates/StylePropertyShorthand.h.tmpl

Issue 236673002: Simplify whitespace handling in build/ Jinja templates (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: One more FIXME Created 6 years, 8 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: Source/build/scripts/templates/StylePropertyShorthand.h.tmpl
diff --git a/Source/build/scripts/templates/StylePropertyShorthand.h.tmpl b/Source/build/scripts/templates/StylePropertyShorthand.h.tmpl
index 5466ed7efea83bdd5f3160f8d7d80a4fb153171e..e94af5384a119fdb2f0db0a36e651d8f19c220e1 100644
--- a/Source/build/scripts/templates/StylePropertyShorthand.h.tmpl
+++ b/Source/build/scripts/templates/StylePropertyShorthand.h.tmpl
@@ -65,11 +65,13 @@ private:
unsigned m_length;
CSSPropertyID m_shorthandID;
};
+{# FIXME: remove extra blank line #}
+
{% for property_id, property in properties.items() %}
-{%- set camel_case_name = property.camel_case_name %}
+{% set camel_case_name = property.camel_case_name %}
const StylePropertyShorthand& {{ camel_case_name }}Shorthand();
-{%- endfor %}
+{% endfor %}
// Returns an empty list if the property is not a shorthand, otherwise the list of longhands for parsing.
const StylePropertyShorthand& parsingShorthandForProperty(CSSPropertyID);
« no previous file with comments | « Source/build/scripts/templates/StylePropertyShorthand.cpp.tmpl ('k') | Source/build/scripts/templates/macros.tmpl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698