| Index: components/autofill/core/browser/credit_card.cc
|
| diff --git a/components/autofill/core/browser/credit_card.cc b/components/autofill/core/browser/credit_card.cc
|
| index 0d35c340dfa83c378792edc15a3d693a1150d579..2b8d2a03c71b85ab8112cc330f44bb32c76ce2a7 100644
|
| --- a/components/autofill/core/browser/credit_card.cc
|
| +++ b/components/autofill/core/browser/credit_card.cc
|
| @@ -678,7 +678,9 @@ bool CreditCard::IsLocalDuplicateOfServerCard(const CreditCard& other) const {
|
| if ((!name_on_card_.empty() && name_on_card_ != other.name_on_card_) ||
|
| (expiration_month_ != 0 &&
|
| expiration_month_ != other.expiration_month_) ||
|
| - (expiration_year_ != 0 && expiration_year_ != other.expiration_year_)) {
|
| + (expiration_year_ != 0 && expiration_year_ != other.expiration_year_) ||
|
| + (!billing_address_id_.empty() &&
|
| + billing_address_id_ != other.billing_address_id_)) {
|
| return false;
|
| }
|
|
|
|
|