| 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 25a2329b72486b539b61c09ff3c90643bb6b40ba..d38cf7b31d3fe0c9d3af9d5491da7890d8b976b4 100644
|
| --- a/components/autofill/core/browser/credit_card.cc
|
| +++ b/components/autofill/core/browser/credit_card.cc
|
| @@ -411,7 +411,7 @@ void CreditCard::GetMatchingTypes(const base::string16& text,
|
| }
|
| }
|
|
|
| -const base::string16 CreditCard::Label() const {
|
| +const base::string16& CreditCard::Label() const {
|
| base::string16 label;
|
| if (number().empty())
|
| return name_on_card_; // No CC number, return name only.
|
|
|