| Index: Source/web/WebSearchableFormData.cpp
|
| diff --git a/Source/web/WebSearchableFormData.cpp b/Source/web/WebSearchableFormData.cpp
|
| index b30cb9636521352890c3418f545ab64e3f16b965..32f98b74c15c2542b52e1ee516386466f5515de2 100644
|
| --- a/Source/web/WebSearchableFormData.cpp
|
| +++ b/Source/web/WebSearchableFormData.cpp
|
| @@ -80,8 +80,8 @@ bool IsHTTPFormSubmit(const HTMLFormElement* form)
|
| HTMLFormControlElement* GetButtonToActivate(HTMLFormElement* form)
|
| {
|
| HTMLFormControlElement* firstSubmitButton = 0;
|
| - const Vector<FormAssociatedElement*>& element = form->associatedElements();
|
| - for (Vector<FormAssociatedElement*>::const_iterator i(element.begin()); i != element.end(); ++i) {
|
| + const FormAssociatedElement::List& element = form->associatedElements();
|
| + for (FormAssociatedElement::List::const_iterator i(element.begin()); i != element.end(); ++i) {
|
| if (!(*i)->isFormControlElement())
|
| continue;
|
| HTMLFormControlElement* control = toHTMLFormControlElement(*i);
|
| @@ -155,8 +155,8 @@ bool IsInDefaultState(HTMLFormControlElement* formElement)
|
| HTMLInputElement* findSuitableSearchInputElement(const HTMLFormElement* form)
|
| {
|
| HTMLInputElement* textElement = 0;
|
| - const Vector<FormAssociatedElement*>& element = form->associatedElements();
|
| - for (Vector<FormAssociatedElement*>::const_iterator i(element.begin()); i != element.end(); ++i) {
|
| + const FormAssociatedElement::List& element = form->associatedElements();
|
| + for (FormAssociatedElement::List::const_iterator i(element.begin()); i != element.end(); ++i) {
|
| if (!(*i)->isFormControlElement())
|
| continue;
|
|
|
| @@ -198,8 +198,8 @@ bool buildSearchString(const HTMLFormElement* form, Vector<char>* encodedString,
|
| {
|
| bool isElementFound = false;
|
|
|
| - Vector<FormAssociatedElement*> elements = form->associatedElements();
|
| - for (Vector<FormAssociatedElement*>::const_iterator i(elements.begin()); i != elements.end(); ++i) {
|
| + const FormAssociatedElement::List& elements = form->associatedElements();
|
| + for (FormAssociatedElement::List::const_iterator i(elements.begin()); i != elements.end(); ++i) {
|
| if (!(*i)->isFormControlElement())
|
| continue;
|
|
|
|
|