Index: chrome/android/java/src/org/chromium/chrome/browser/preferences/autofill/AutofillPreferences.java |
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/preferences/autofill/AutofillPreferences.java b/chrome/android/java/src/org/chromium/chrome/browser/preferences/autofill/AutofillPreferences.java |
index 174ced7df54f1a31d52560fa27636422e48b0eac..ef4d69869ce80688880326fe1acf45680dbf8df0 100644 |
--- a/chrome/android/java/src/org/chromium/chrome/browser/preferences/autofill/AutofillPreferences.java |
+++ b/chrome/android/java/src/org/chromium/chrome/browser/preferences/autofill/AutofillPreferences.java |
@@ -88,7 +88,7 @@ |
// Add an edit preference for each current Chrome profile. |
PreferenceGroup profileCategory = (PreferenceGroup) findPreference(PREF_AUTOFILL_PROFILES); |
profileCategory.removeAll(); |
- for (AutofillProfile profile : PersonalDataManager.getInstance().getProfilesForSettings()) { |
+ for (AutofillProfile profile : PersonalDataManager.getInstance().getProfiles()) { |
// Add an item on the current page... |
Preference pref = new Preference(getActivity()); |
pref.setTitle(profile.getFullName()); |
@@ -111,7 +111,7 @@ |
PreferenceGroup profileCategory = |
(PreferenceGroup) findPreference(PREF_AUTOFILL_CREDIT_CARDS); |
profileCategory.removeAll(); |
- for (CreditCard card : PersonalDataManager.getInstance().getCreditCardsForSettings()) { |
+ for (CreditCard card : PersonalDataManager.getInstance().getCreditCards()) { |
// Add an item on the current page... |
Preference pref = new Preference(getActivity()); |
pref.setTitle(card.getObfuscatedNumber()); |