Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(436)

Unified Diff: third_party/WebKit/Source/core/html/FormAssociatedElement.cpp

Issue 2384273007: reflow comments in core/html/*.{cpp,h},core/html/imports (Closed)
Patch Set: comments Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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()))
« no previous file with comments | « third_party/WebKit/Source/core/html/FormAssociatedElement.h ('k') | third_party/WebKit/Source/core/html/HTMLAnchorElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698