Index: Source/core/dom/Document.cpp |
diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp |
index 34ad7320d34e3eed6d49601fd25dec6af4b6c4f2..d91be6c4062115dff1eb00e5f65cb14bd41325d0 100644 |
--- a/Source/core/dom/Document.cpp |
+++ b/Source/core/dom/Document.cpp |
@@ -764,13 +764,13 @@ PassRefPtr<Element> Document::createElement(const AtomicString& localName, const |
RefPtr<Element> element; |
if (CustomElementRegistry::isCustomTagName(localName)) |
- element = ensureCustomElementRegistry()->createCustomTagElement(QualifiedName(nullAtom, localName, xhtmlNamespaceURI)); |
+ element = ensureCustomElementRegistry()->createCustomTagElement(QualifiedName(nullAtom, localName, xhtmlNamespaceURI), false); |
else |
element = createElement(localName, ec); |
if (!typeExtension.isNull()) { |
setTypeExtension(element.get(), typeExtension); |
- ensureCustomElementRegistry()->didGiveTypeExtension(element.get(), typeExtension); |
+ ensureCustomElementRegistry()->didGiveTypeExtension(element.get(), typeExtension, false); |
} |
return element; |
@@ -790,13 +790,13 @@ PassRefPtr<Element> Document::createElementNS(const AtomicString& namespaceURI, |
RefPtr<Element> element; |
if (CustomElementRegistry::isCustomTagName(qName.localName())) |
- element = ensureCustomElementRegistry()->createCustomTagElement(qName); |
+ element = ensureCustomElementRegistry()->createCustomTagElement(qName, false); |
else |
element = createElementNS(namespaceURI, qualifiedName, ec); |
if (!typeExtension.isNull()) { |
setTypeExtension(element.get(), typeExtension); |
- ensureCustomElementRegistry()->didGiveTypeExtension(element.get(), typeExtension); |
+ ensureCustomElementRegistry()->didGiveTypeExtension(element.get(), typeExtension, false); |
} |
return element; |