| Index: third_party/WebKit/Source/core/html/parser/HTMLConstructionSite.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/parser/HTMLConstructionSite.cpp b/third_party/WebKit/Source/core/html/parser/HTMLConstructionSite.cpp
|
| index 98391e7f2cc4021aee338c0a9d23f41fe3e52b95..0d07296838ea8e0d65278f043b5fb30e4924820c 100644
|
| --- a/third_party/WebKit/Source/core/html/parser/HTMLConstructionSite.cpp
|
| +++ b/third_party/WebKit/Source/core/html/parser/HTMLConstructionSite.cpp
|
| @@ -836,7 +836,7 @@ HTMLElement* HTMLConstructionSite::createHTMLElement(AtomicHTMLToken* token)
|
|
|
| // 7.
|
| QualifiedName elementQName(nullAtom, token->name(), HTMLNames::xhtmlNamespaceURI);
|
| - element = definition->createElementSync(document, elementQName);
|
| + element = definition->createElementSync(document, elementQName, nullptr);
|
|
|
| // "8. Append each attribute in the given token to element."
|
| // We don't use setAttributes here because the custom element
|
| @@ -853,7 +853,7 @@ HTMLElement* HTMLConstructionSite::createHTMLElement(AtomicHTMLToken* token)
|
| // pass the current form element. We should rework form
|
| // association to occur after construction to allow better
|
| // code sharing here.
|
| - element = HTMLElementFactory::createHTMLElement(token->name(), document, form, getCreateElementFlags());
|
| + element = HTMLElementFactory::createHTMLElement(token->name(), document, form, 0, getCreateElementFlags());
|
|
|
| // "8. Append each attribute in the given token to element."
|
| setAttributes(element, token, m_parserContentPolicy);
|
|
|