summaryrefslogtreecommitdiffstats
path: root/components/autofill/content/browser/wallet/wallet_items.cc
diff options
context:
space:
mode:
Diffstat (limited to 'components/autofill/content/browser/wallet/wallet_items.cc')
-rw-r--r--components/autofill/content/browser/wallet/wallet_items.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/components/autofill/content/browser/wallet/wallet_items.cc b/components/autofill/content/browser/wallet/wallet_items.cc
index 1608c3e..6a861e2 100644
--- a/components/autofill/content/browser/wallet/wallet_items.cc
+++ b/components/autofill/content/browser/wallet/wallet_items.cc
@@ -309,12 +309,12 @@ const gfx::Image& WalletItems::MaskedInstrument::CardIcon() const {
}
base::string16 WalletItems::MaskedInstrument::GetInfo(
- AutofillFieldType type,
+ const AutofillType& type,
const std::string& app_locale) const {
- if (AutofillType(type).group() != CREDIT_CARD)
+ if (type.group() != CREDIT_CARD)
return address().GetInfo(type, app_locale);
- switch (type) {
+ switch (type.server_type()) {
case CREDIT_CARD_NAME:
return address().recipient_name();