| Index: components/password_manager/core/browser/password_autofill_manager.cc
|
| diff --git a/components/password_manager/core/browser/password_autofill_manager.cc b/components/password_manager/core/browser/password_autofill_manager.cc
|
| index 01bf791bed010de8ddfda9ae442a1c79cb34dcd1..04bde05f7467b5628119f6a785300190c9e13fd4 100644
|
| --- a/components/password_manager/core/browser/password_autofill_manager.cc
|
| +++ b/components/password_manager/core/browser/password_autofill_manager.cc
|
| @@ -151,8 +151,8 @@ bool PasswordAutofillManager::GetPasswordForUsername(
|
| // fetch the actual password. See crbug.com/178358 for more context.
|
|
|
| // Look for any suitable matches to current field text.
|
| - if (fill_data.basic_data.fields[0].value == current_username) {
|
| - *password = fill_data.basic_data.fields[1].value;
|
| + if (fill_data.basic_data.username.value == current_username) {
|
| + *password = fill_data.basic_data.password.value;
|
| return true;
|
| }
|
|
|
|
|