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

Unified Diff: components/autofill/core/browser/credit_card.cc

Issue 2831213002: Add unionpay resource for autofill. (Closed)
Patch Set: 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/core/browser/credit_card.cc
diff --git a/components/autofill/core/browser/credit_card.cc b/components/autofill/core/browser/credit_card.cc
index 0e54c44176abd4a59c4418bb569331a95469e561..9256313f577a28bd43a843b6aee7fb71ceca7b59 100644
--- a/components/autofill/core/browser/credit_card.cc
+++ b/components/autofill/core/browser/credit_card.cc
@@ -152,7 +152,7 @@ int CreditCard::IconResourceId(const std::string& type) {
if (type == kMirCard)
return IDR_AUTOFILL_CC_MIR;
if (type == kUnionPay)
- return IDR_AUTOFILL_CC_GENERIC;
+ return IDR_AUTOFILL_CC_UNIONPAY;
if (type == kVisaCard)
return IDR_AUTOFILL_CC_VISA;
« no previous file with comments | « chrome/browser/ui/autofill/autofill_popup_layout_model.cc ('k') | components/autofill/core/browser/credit_card_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698