| 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 a7618849c380f85d73fdb6a07491a62106ba10f8..9cc1c027fbd88626bfffae5ff000d13dd99bb86d 100644
|
| --- a/Source/build/scripts/templates/ElementFactory.cpp.tmpl
|
| +++ b/Source/build/scripts/templates/ElementFactory.cpp.tmpl
|
| @@ -51,7 +51,9 @@ static PassRefPtr<{{namespace}}Element> {{tag|symbol}}Constructor(
|
| if (!RuntimeEnabledFeatures::{{tag.runtimeEnabled}}Enabled())
|
| return {{fallback_interface}}::create(tagName, document);
|
| {%- endif %}
|
| - return {{tag.interface}}::create(tagName, document
|
| + return {{tag.interface}}::create(
|
| +{%- if namespace != 'HTML' or tag.multipleTagNames -%} tagName, {% endif -%}
|
| + document
|
| {%- if namespace == 'HTML' and tag.constructorNeedsFormElement %}, formElement{% endif -%}
|
| {%- if tag.constructorNeedsCreatedByParser %}, createdByParser{% endif -%}
|
| );
|
|
|