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

Unified Diff: Source/build/scripts/templates/ElementFactory.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/ElementFactory.h.tmpl
diff --git a/Source/build/scripts/templates/ElementFactory.h.tmpl b/Source/build/scripts/templates/ElementFactory.h.tmpl
index 0f8a6bcac59f7c078b9879388df612389a0fc3a9..dcb2fafb00a18318b164ed4a200dbf99de3f5bd2 100644
--- a/Source/build/scripts/templates/ElementFactory.h.tmpl
+++ b/Source/build/scripts/templates/ElementFactory.h.tmpl
@@ -1,4 +1,4 @@
-{% from "macros.tmpl" import license -%}
+{% from "macros.tmpl" import license %}
{{ license() }}
#ifndef {{namespace}}ElementFactory_h
@@ -11,18 +11,17 @@ namespace WebCore {
class Document;
class {{namespace}}Element;
-
-{%- if namespace == 'HTML' %}
+{% if namespace == 'HTML' %}
class HTMLFormElement;
-{%- endif %}
+{% endif %}
class {{namespace}}ElementFactory {
public:
static PassRefPtr<{{namespace}}Element> create{{namespace}}Element(const AtomicString& localName,
Document&,
- {%- if namespace == 'HTML' %}
+ {% if namespace == 'HTML' %}
HTMLFormElement* = 0,
- {%- endif %}
+ {% endif %}
bool createdByParser = true);
};
« no previous file with comments | « Source/build/scripts/templates/ElementFactory.cpp.tmpl ('k') | Source/build/scripts/templates/ElementLookupTrie.cpp.tmpl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698