| 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 2b2691ac02ec8860f9c3177496531109eb6a67d3..4ed4cbc07304dc2ce868d1f5bbc2d740d7c7d769 100644
|
| --- a/Source/build/scripts/templates/ElementFactory.cpp.tmpl
|
| +++ b/Source/build/scripts/templates/ElementFactory.cpp.tmpl
|
| @@ -81,7 +81,7 @@ PassRefPtr<{{namespace}}Element> {{namespace}}ElementFactory::create{{namespace}
|
| bool createdByParser)
|
| {
|
| if (CustomElement::isValidName(localName) && document.registrationContext()) {
|
| - RefPtr<Element> element = document.registrationContext()->createCustomTagElement(document, QualifiedName(nullAtom, localName, {{namespace_prefix}}NamespaceURI), createdByParser ? CustomElementRegistrationContext::CreatedByParser : CustomElementRegistrationContext::NotCreatedByParser);
|
| + RefPtr<Element> element = document.registrationContext()->createCustomTagElement(document, QualifiedName(nullAtom, localName, {{namespace_prefix}}NamespaceURI));
|
| ASSERT_WITH_SECURITY_IMPLICATION(element->is{{namespace}}Element());
|
| return static_pointer_cast<{{namespace}}Element>(element.release());
|
| }
|
|
|