| 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);
|
| };
|
|
|
|
|