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

Unified Diff: third_party/WebKit/Source/web/WebFormElement.cpp

Issue 2546063002: Rename FormAssociatedElement to ListedElement (Closed)
Patch Set: Suggested changes made Created 4 years 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/web/WebFormElement.cpp
diff --git a/third_party/WebKit/Source/web/WebFormElement.cpp b/third_party/WebKit/Source/web/WebFormElement.cpp
index b99b9f823b467b08e3c7bf47fc2456509821b6ad..72e0e3824c3ddaef7ba3873c8ed1808034500c5a 100644
--- a/third_party/WebKit/Source/web/WebFormElement.cpp
+++ b/third_party/WebKit/Source/web/WebFormElement.cpp
@@ -63,11 +63,9 @@ void WebFormElement::getFormControlElements(
const HTMLFormElement* form = constUnwrap<HTMLFormElement>();
Vector<WebFormControlElement> formControlElements;
- const FormAssociatedElement::List& associatedElements =
- form->associatedElements();
- for (FormAssociatedElement::List::const_iterator it =
- associatedElements.begin();
- it != associatedElements.end(); ++it) {
+ const ListedElement::List& listedElements = form->listedElements();
+ for (ListedElement::List::const_iterator it = listedElements.begin();
+ it != listedElements.end(); ++it) {
if ((*it)->isFormControlElement())
formControlElements.append(toHTMLFormControlElement(*it));
}

Powered by Google App Engine
This is Rietveld 408576698