| Index: components/autofill/core/common/password_form_fill_data.cc
|
| diff --git a/components/autofill/core/common/password_form_fill_data.cc b/components/autofill/core/common/password_form_fill_data.cc
|
| index 3ffa1811600ea63eb414424a52931ed2f0339413..b4d5fd047bcc70c13091f8a8d89c4d63bf1b78cb 100644
|
| --- a/components/autofill/core/common/password_form_fill_data.cc
|
| +++ b/components/autofill/core/common/password_form_fill_data.cc
|
| @@ -34,7 +34,7 @@ PasswordFormFillData::~PasswordFormFillData() {
|
|
|
| void InitPasswordFormFillData(
|
| const PasswordForm& form_on_page,
|
| - const PasswordFormMap& matches,
|
| + const std::map<base::string16, const PasswordForm*>& matches,
|
| const PasswordForm* const preferred_match,
|
| bool wait_for_username_before_autofill,
|
| bool enable_other_possible_usernames,
|
| @@ -66,7 +66,7 @@ void InitPasswordFormFillData(
|
|
|
| // Copy additional username/value pairs.
|
| for (const auto& it : matches) {
|
| - if (it.second.get() != preferred_match) {
|
| + if (it.second != preferred_match) {
|
| PasswordAndRealm value;
|
| value.password = it.second->password_value;
|
| if (it.second->is_public_suffix_match ||
|
|
|