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

Unified Diff: chrome/browser/ui/views/payments/credit_card_editor_view_controller.cc

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: chrome/browser/ui/views/payments/credit_card_editor_view_controller.cc
diff --git a/chrome/browser/ui/views/payments/credit_card_editor_view_controller.cc b/chrome/browser/ui/views/payments/credit_card_editor_view_controller.cc
index 03680275598688b6ffa9b8ac524f0c6eb543c647..3c5535098e64281cb12b0d28bd15078d6f2e05ce 100644
--- a/chrome/browser/ui/views/payments/credit_card_editor_view_controller.cc
+++ b/chrome/browser/ui/views/payments/credit_card_editor_view_controller.cc
@@ -133,7 +133,7 @@ CreditCardEditorViewController::CreateHeaderView() {
for (const std::string& supported_network :
spec()->supported_card_networks()) {
const std::string autofill_card_type =
- autofill::data_util::GetCardTypeForBasicCardPaymentType(
+ autofill::data_util::GetIssuerNetworkForBasicCardIssuerNetwork(
supported_network);
std::unique_ptr<views::ImageView> card_icon_view = CreateInstrumentIconView(
autofill::data_util::GetPaymentRequestData(autofill_card_type)

Powered by Google App Engine
This is Rietveld 408576698