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

Unified Diff: chrome/browser/ui/autofill/new_credit_card_bubble_controller.cc

Issue 1540423004: Add card details and legal message to Android save credit card infobar. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Edits Created 4 years, 11 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/autofill/new_credit_card_bubble_controller.cc
diff --git a/chrome/browser/ui/autofill/new_credit_card_bubble_controller.cc b/chrome/browser/ui/autofill/new_credit_card_bubble_controller.cc
index e768ee1f9e53e3511c5b8624e5848b84676d17e8..945b6cc9a95675df2e0eb1260b7f6206e7b8874d 100644
--- a/chrome/browser/ui/autofill/new_credit_card_bubble_controller.cc
+++ b/chrome/browser/ui/autofill/new_credit_card_bubble_controller.cc
@@ -100,7 +100,7 @@ void NewCreditCardBubbleController::SetupAndShow(
ui::ResourceBundle& rb = ResourceBundle::GetSharedInstance();
card_desc_.icon = rb.GetImageNamed(
CreditCard::IconResourceId(CreditCard::GetCreditCardType(card_number)));
- card_desc_.name = new_card_->TypeAndLastFourDigits();
+ card_desc_.name = new_card_->TypeAndLastFourDigitsForDisplay();
AutofillProfileWrapper wrapper(billing_profile_.get());
base::string16 unused;

Powered by Google App Engine
This is Rietveld 408576698