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 b51ecd5ef89ea90da4c9563e320b45cbd6db0869..34b78b20b395b4b33c13f192c1d328e3e9f3ad4a 100644 |
--- a/components/autofill/core/browser/credit_card.cc |
+++ b/components/autofill/core/browser/credit_card.cc |
@@ -185,6 +185,9 @@ const base::string16 CreditCard::StripSeparators(const base::string16& number) { |
base::string16 CreditCard::TypeForDisplay(const std::string& type) { |
if (kGenericCard == type) |
return l10n_util::GetStringUTF16(IDS_AUTOFILL_CC_GENERIC); |
+ if (kAmericanExpressCard == type) |
+ return l10n_util::GetStringUTF16(IDS_AUTOFILL_CC_AMEX_SHORT); |
+ |
return ::autofill::TypeForFill(type); |
} |