Chromium Code Reviews| 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)); |