Chromium Code Reviews| 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..532c57375ca65f1b4a1d58ed6c490dd7b2f2c4ed 100644 |
| --- a/components/autofill/content/renderer/password_autofill_agent.cc |
| +++ b/components/autofill/content/renderer/password_autofill_agent.cc |
| @@ -290,7 +290,7 @@ 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)) |
| @@ -298,7 +298,7 @@ bool PasswordAutofillAgent::DidAcceptAutofillSuggestion( |
| // Set the incoming |value| in the text field and |FillUserNameAndPassword| |
|
blundell
2013/11/21 17:08:45
username
jif-google
2013/11/22 12:21:44
Done.
|
| // 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 */, |