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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/payments/CardEditor.java

Issue 2287513002: [Payments] Show name and address when selecting a CC billing address. (Closed)
Patch Set: Fixed error Created 4 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/android/java/src/org/chromium/chrome/browser/payments/CardEditor.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/payments/CardEditor.java b/chrome/android/java/src/org/chromium/chrome/browser/payments/CardEditor.java
index 19cb82376ce01bbbd9c269b5bd450b2fb20f2d9e..87aba70c6025289dd75736f2134ada7542302fe5 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/payments/CardEditor.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/payments/CardEditor.java
@@ -133,7 +133,8 @@ public class CardEditor extends EditorBase<AutofillPaymentInstrument> {
mAddressEditor = addressEditor;
mObserverForTest = observerForTest;
- List<AutofillProfile> profiles = PersonalDataManager.getInstance().getProfilesForSettings();
+ List<AutofillProfile> profiles = PersonalDataManager.getInstance().getProfilesToSuggest(
+ true /* includeName */);
mProfilesForBillingAddress = new HashMap<>();
for (int i = 0; i < profiles.size(); i++) {
AutofillProfile profile = profiles.get(i);

Powered by Google App Engine
This is Rietveld 408576698