| Index: Source/core/html/forms/FormController.cpp
|
| diff --git a/Source/core/html/forms/FormController.cpp b/Source/core/html/forms/FormController.cpp
|
| index d7c6b30c389f4df47053fee19b54b96ff01378ef..0fe9a3add21949393bdc36cd14aba6e875f9f29a 100644
|
| --- a/Source/core/html/forms/FormController.cpp
|
| +++ b/Source/core/html/forms/FormController.cpp
|
| @@ -310,7 +310,7 @@ static inline void recordFormStructure(const HTMLFormElement& form, StringBuilde
|
| {
|
| // 2 is enough to distinguish forms in webkit.org/b/91209#c0
|
| const size_t namedControlsToBeRecorded = 2;
|
| - const Vector<FormAssociatedElement*>& controls = form.associatedElements();
|
| + const FormAssociatedElement::List& controls = form.associatedElements();
|
| builder.append(" [");
|
| for (size_t i = 0, namedControls = 0; i < controls.size() && namedControls < namedControlsToBeRecorded; ++i) {
|
| if (!controls[i]->isFormControlElementWithState())
|
| @@ -511,7 +511,7 @@ void FormController::restoreControlStateFor(HTMLFormControlElementWithState& con
|
|
|
| void FormController::restoreControlStateIn(HTMLFormElement& form)
|
| {
|
| - const Vector<FormAssociatedElement*>& elements = form.associatedElements();
|
| + const FormAssociatedElement::List& elements = form.associatedElements();
|
| for (size_t i = 0; i < elements.size(); ++i) {
|
| if (!elements[i]->isFormControlElementWithState())
|
| continue;
|
|
|