| Index: components/autofill/content/renderer/password_autofill_agent.cc
|
| diff --git a/components/autofill/content/renderer/password_autofill_agent.cc b/components/autofill/content/renderer/password_autofill_agent.cc
|
| index 81a822ad84d6f5525602acdad47cb59c784ed9a1..4dbbe8ef745b1d070b033308c256f6036755e9bf 100644
|
| --- a/components/autofill/content/renderer/password_autofill_agent.cc
|
| +++ b/components/autofill/content/renderer/password_autofill_agent.cc
|
| @@ -585,7 +585,7 @@ void PasswordAutofillAgent::OnFillPasswordForm(
|
|
|
| FormData form;
|
| FormFieldData field;
|
| - FindFormAndFieldForInputElement(
|
| + FindFormAndFieldForFormControlElement(
|
| username_element, &form, &field, REQUIRE_NONE);
|
| Send(new AutofillHostMsg_AddPasswordFormMapping(
|
| routing_id(),
|
| @@ -647,7 +647,7 @@ bool PasswordAutofillAgent::ShowSuggestionPopup(
|
|
|
| FormData form;
|
| FormFieldData field;
|
| - FindFormAndFieldForInputElement(
|
| + FindFormAndFieldForFormControlElement(
|
| user_input, &form, &field, REQUIRE_NONE);
|
|
|
| blink::WebInputElement selected_element = user_input;
|
|
|