| 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 279175246a83f3212d82a9571eb689e31adefc04..571b53cb975c9d81f9f33901dd5bb0741ee83e08 100644
|
| --- a/components/autofill/content/renderer/password_autofill_agent.cc
|
| +++ b/components/autofill/content/renderer/password_autofill_agent.cc
|
| @@ -290,15 +290,15 @@ bool PasswordAutofillAgent::TextFieldHandlingKeyDown(
|
|
|
| bool PasswordAutofillAgent::DidAcceptAutofillSuggestion(
|
| const blink::WebNode& node,
|
| - const blink::WebString& value) {
|
| + const blink::WebString& username) {
|
| blink::WebInputElement input;
|
| PasswordInfo password;
|
| if (!FindLoginInfo(node, &input, &password))
|
| return false;
|
|
|
| - // Set the incoming |value| in the text field and |FillUserNameAndPassword|
|
| + // Set the incoming |username| in the text field and |FillUserNameAndPassword|
|
| // will do the rest.
|
| - input.setValue(value, true);
|
| + input.setValue(username, true);
|
| return FillUserNameAndPassword(&input, &password.password_field,
|
| password.fill_data,
|
| true /* exact_username_match */,
|
|
|