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

Unified Diff: Source/core/html/HTMLInputElement.cpp

Issue 16629006: Revert 151996 "Avoid N^2 walk placing renderers when building th..." (Closed) Base URL: svn://svn.chromium.org/blink/
Patch Set: Update to head Created 7 years, 6 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
« no previous file with comments | « Source/core/html/HTMLInputElement.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLInputElement.cpp
diff --git a/Source/core/html/HTMLInputElement.cpp b/Source/core/html/HTMLInputElement.cpp
index d1de7fabc0c9043db4fe1e217d34392b051ee653..a5bb12a33fa5b238ad5724bfec40c6f030dd9fa9 100644
--- a/Source/core/html/HTMLInputElement.cpp
+++ b/Source/core/html/HTMLInputElement.cpp
@@ -1478,16 +1478,11 @@ void HTMLInputElement::didChangeForm()
addToRadioButtonGroup();
}
-void HTMLInputElement::addToRadioButtonGroupCallback(Node* node)
-{
- toHTMLInputElement(node)->addToRadioButtonGroup();
-}
-
Node::InsertionNotificationRequest HTMLInputElement::insertedInto(ContainerNode* insertionPoint)
{
HTMLTextFormControlElement::insertedInto(insertionPoint);
- if (insertionPoint->inDocument() && !form() && checkedRadioButtons())
- queueInsertionCallback(addToRadioButtonGroupCallback, this);
+ if (insertionPoint->inDocument() && !form())
+ addToRadioButtonGroup();
resetListAttributeTargetObserver();
return InsertionDone;
}
« no previous file with comments | « Source/core/html/HTMLInputElement.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698