Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1142)

Unified Diff: components/autofill/ios/browser/credit_card_util.mm

Issue 2844463004: Rename card 'type' into 'issuer network.' (Closed)
Patch Set: read -> use Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/autofill/ios/browser/credit_card_util.mm
diff --git a/components/autofill/ios/browser/credit_card_util.mm b/components/autofill/ios/browser/credit_card_util.mm
index e62b9e82cd8b82acc3615b658fceacd975165fc9..38a78619b0c944e386f31ebafeaf5ab3030a0b42 100644
--- a/components/autofill/ios/browser/credit_card_util.mm
+++ b/components/autofill/ios/browser/credit_card_util.mm
@@ -17,7 +17,7 @@ NSString* GetCreditCardName(const CreditCard& credit_card,
}
NSString* GetCreditCardObfuscatedNumber(const CreditCard& credit_card) {
- return base::SysUTF16ToNSString(credit_card.TypeAndLastFourDigits());
+ return base::SysUTF16ToNSString(credit_card.NetworkAndLastFourDigits());
}
NSDateComponents* GetCreditCardExpirationDate(const CreditCard& credit_card) {

Powered by Google App Engine
This is Rietveld 408576698