| 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));
|
| }
|
|
|