| 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 a652c5c65f422e61db4601900f326ad96c664806..2e6667f039a93806fb08158449aaaa3ea0b9fec8 100644
|
| --- a/Source/build/scripts/templates/ElementFactory.h.tmpl
|
| +++ b/Source/build/scripts/templates/ElementFactory.h.tmpl
|
| @@ -12,13 +12,21 @@ namespace WebCore {
|
| class Element;
|
| class Document;
|
| class QualifiedName;
|
| +
|
| +{%- if namespace == 'HTML' %}
|
| class HTMLFormElement;
|
| +{%- endif %}
|
|
|
| class {{namespace}}Element;
|
|
|
| class {{namespace}}ElementFactory {
|
| public:
|
| - static PassRefPtr<{{namespace}}Element> create{{namespace}}Element(const QualifiedName&, Document*, HTMLFormElement* = 0, bool createdByParser = true);
|
| + static PassRefPtr<{{namespace}}Element> create{{namespace}}Element(const QualifiedName&,
|
| + Document*,
|
| + {%- if namespace == 'HTML' %}
|
| + HTMLFormElement* = 0,
|
| + {%- endif %}
|
| + bool createdByParser = true);
|
| };
|
|
|
| } // WebCore
|
|
|