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

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

Issue 2546063002: Rename FormAssociatedElement to ListedElement (Closed)
Patch Set: Rename FormAssociatedElement to ListedElement 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..6ba79acb319e50a05bbeedc3eaecd7767c0f5a0c 100644
--- a/third_party/WebKit/Source/web/WebFormElement.cpp
+++ b/third_party/WebKit/Source/web/WebFormElement.cpp
@@ -63,10 +63,8 @@ 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();
+ const ListedElement::List& associatedElements = form->associatedElements();
tkent 2016/12/02 13:24:37 Rename this variable to listedElements.
+ for (ListedElement::List::const_iterator it = associatedElements.begin();
it != associatedElements.end(); ++it) {
if ((*it)->isFormControlElement())
formControlElements.append(toHTMLFormControlElement(*it));

Powered by Google App Engine
This is Rietveld 408576698