Index: Source/build/scripts/templates/ElementFactory.cpp.tmpl |
diff --git a/Source/build/scripts/templates/ElementFactory.cpp.tmpl b/Source/build/scripts/templates/ElementFactory.cpp.tmpl |
index f6c165106e9d56a71de7c46dc2e18f389fa9e550..a7618849c380f85d73fdb6a07491a62106ba10f8 100644 |
--- a/Source/build/scripts/templates/ElementFactory.cpp.tmpl |
+++ b/Source/build/scripts/templates/ElementFactory.cpp.tmpl |
@@ -34,7 +34,7 @@ typedef HashMap<StringImpl*, ConstructorFunction> FunctionMap; |
static FunctionMap* g_constructors = 0; |
-{%- for tag in tags|sort if not tag.mapToTagName and not tag.noConstructor %} |
+{%- for tag in tags|sort if not tag.noConstructor %} |
static PassRefPtr<{{namespace}}Element> {{tag|symbol}}Constructor( |
const QualifiedName& tagName, |
Document& document, |
@@ -58,13 +58,6 @@ static PassRefPtr<{{namespace}}Element> {{tag|symbol}}Constructor( |
} |
{%- endfor %} |
-{%- for tag in tags|sort if tag.mapToTagName %} |
-static PassRefPtr<HTMLElement> {{tag|symbol}}Constructor(const QualifiedName& tagName, Document& document, HTMLFormElement* formElement, bool createdByParser) |
-{ |
- return {{tag.mapToTagName}}Constructor(QualifiedName(tagName.prefix(), {{tag.mapToTagName}}Tag.localName(), tagName.namespaceURI()), document, formElement, createdByParser); |
-} |
-{%- endfor %} |
- |
static void addTag(const QualifiedName& tag, ConstructorFunction func) |
{ |
g_constructors->set(tag.localName().impl(), func); |