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 c14205ed362668a2ff0c5168a02f709639dc24a4..51f38d8471e7bf6ebe03660a4ec7552d6584d313 100644 |
--- a/third_party/WebKit/Source/core/html/parser/HTMLConstructionSite.cpp |
+++ b/third_party/WebKit/Source/core/html/parser/HTMLConstructionSite.cpp |
@@ -936,8 +936,8 @@ HTMLElement* HTMLConstructionSite::createHTMLElement(AtomicHTMLToken* token) { |
// FIXME: This can't use HTMLConstructionSite::createElement because we have |
// to 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, |
+ getCreateElementFlags()); |
if (FormAssociated* formAssociatedElement = |
element->toFormAssociatedOrNull()) { |
formAssociatedElement->associateWith(form); |