| Index: third_party/WebKit/Source/core/html/FormAssociatedElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/FormAssociatedElement.cpp b/third_party/WebKit/Source/core/html/FormAssociatedElement.cpp
|
| index cd06fab8838027646a5befba26a47e9fa8edc70e..124df2b96f16292ff57ea317c284eacb4644a9ed 100644
|
| --- a/third_party/WebKit/Source/core/html/FormAssociatedElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/FormAssociatedElement.cpp
|
| @@ -95,8 +95,9 @@ void FormAssociatedElement::removedFrom(ContainerNode* insertionPoint) {
|
| resetFormOwner();
|
| return;
|
| }
|
| - // If the form and element are both in the same tree, preserve the connection to the form.
|
| - // Otherwise, null out our form and remove ourselves from the form's list of elements.
|
| + // If the form and element are both in the same tree, preserve the connection
|
| + // to the form. Otherwise, null out our form and remove ourselves from the
|
| + // form's list of elements.
|
| if (m_form &&
|
| NodeTraversal::highestAncestorOrSelf(*element) !=
|
| NodeTraversal::highestAncestorOrSelf(*m_form.get()))
|
|
|