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

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

Issue 2579623003: [Autofill] Update credit card icons to match payments. (Closed)
Patch Set: Created 4 years 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 2bc1ca4bf4f69bbde6b7800f543e5f83a42a0234..3b402eae9e873dbb85ae52383d1ebaa1a1e4d2bd 100644
--- a/components/autofill/core/browser/credit_card.cc
+++ b/components/autofill/core/browser/credit_card.cc
@@ -135,11 +135,11 @@ int CreditCard::IconResourceId(const std::string& type) {
if (type == kAmericanExpressCard)
return IDR_AUTOFILL_CC_AMEX;
if (type == kDinersCard)
- return IDR_AUTOFILL_CC_GENERIC;
+ return IDR_AUTOFILL_CC_DINERS;
if (type == kDiscoverCard)
return IDR_AUTOFILL_CC_DISCOVER;
if (type == kJCBCard)
- return IDR_AUTOFILL_CC_GENERIC;
+ return IDR_AUTOFILL_CC_JCB;
if (type == kMasterCard)
return IDR_AUTOFILL_CC_MASTERCARD;
if (type == kMirCard)

Powered by Google App Engine
This is Rietveld 408576698