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

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

Issue 21724002: rAc: try really hard not to ellipsize addresses (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync'd Created 7 years, 4 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 2fb5db3a97e42804799353cca11dc5fce62e9306..e89d6e5cc150a07ea3bdf6cbaa8e3822ca67013a 100644
--- a/chrome/browser/ui/autofill/new_credit_card_bubble_controller.cc
+++ b/chrome/browser/ui/autofill/new_credit_card_bubble_controller.cc
@@ -112,7 +112,8 @@ void NewCreditCardBubbleController::SetupAndShow(
card_desc_.name = new_card_->TypeAndLastFourDigits();
AutofillProfileWrapper wrapper(billing_profile_.get(), 0);
- card_desc_.description = wrapper.GetDisplayText();
+ base::string16 unused;
+ wrapper.GetDisplayText(&card_desc_.description, &unused);
bubble_ = CreateBubble();
if (!bubble_) {

Powered by Google App Engine
This is Rietveld 408576698