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

Unified Diff: chrome/browser/ui/autofill/data_model_wrapper.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/data_model_wrapper.cc
diff --git a/chrome/browser/ui/autofill/data_model_wrapper.cc b/chrome/browser/ui/autofill/data_model_wrapper.cc
index 6a71ee36d356791ba09cb62afbb1dc8b5ce80fce..ef1b94fd131f48028f7b55bdc7581c1bc9ec616b 100644
--- a/chrome/browser/ui/autofill/data_model_wrapper.cc
+++ b/chrome/browser/ui/autofill/data_model_wrapper.cc
@@ -192,7 +192,8 @@ bool AutofillCreditCardWrapper::GetDisplayText(
if (!card_->IsValid())
return false;
- *vertically_compact = *horizontally_compact = card_->TypeAndLastFourDigits();
+ *vertically_compact = *horizontally_compact =
+ card_->TypeAndLastFourDigitsForDisplay();
return true;
}

Powered by Google App Engine
This is Rietveld 408576698