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

Unified Diff: Source/build/scripts/templates/StyleBuilderFunctions.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/StyleBuilderFunctions.h.tmpl
diff --git a/Source/build/scripts/templates/StyleBuilderFunctions.h.tmpl b/Source/build/scripts/templates/StyleBuilderFunctions.h.tmpl
index a24418de7151090363db70de8f1528b4ea9f7cf9..a6770ee2a035606bcfdeba96c10fed9f680168f4 100644
--- a/Source/build/scripts/templates/StyleBuilderFunctions.h.tmpl
+++ b/Source/build/scripts/templates/StyleBuilderFunctions.h.tmpl
@@ -1,4 +1,4 @@
-{% from "macros.tmpl" import wrap_with_condition, license -%}
+{% from "macros.tmpl" import wrap_with_condition, license %}
{{ license() }}
#ifndef StyleBuilderFunctions_h
@@ -14,14 +14,15 @@ class StyleResolverState;
class StyleBuilderFunctions {
public:
-{%- for property_id, property in properties.items() if not property.use_handlers_for %}
-{% call wrap_with_condition(property.condition) %}
+ {% for property_id, property in properties.items()
+ if not property.use_handlers_for %}
+ {% call wrap_with_condition(property.condition) %}
static void applyInitial{{property_id}}(StyleResolverState&);
static void applyInherit{{property_id}}(StyleResolverState&);
static void applyValue{{property_id}}(StyleResolverState&, CSSValue*);
-{%- endcall %}
-{%- endfor %}
+ {% endcall %}
+ {% endfor %}
};
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698