Index: chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc |
diff --git a/chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc b/chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc |
index b406bf6d7ef1ca0b8e805ac0b2219b8a0d12cda6..ef80d88f9977e5b5606920e9ab8d4a4609488259 100644 |
--- a/chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc |
+++ b/chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc |
@@ -83,7 +83,7 @@ void FillOutputForSectionWithComparator( |
const base::string16& email_address) { |
// Email is hidden while using Wallet, special case it. |
- if (section == SECTION_EMAIL) { |
+ if (section == SECTION_CC_BILLING) { |
AutofillProfile profile; |
profile.SetRawInfo(EMAIL_ADDRESS, email_address); |
AutofillProfileWrapper profile_wrapper(&profile, 0); |
@@ -357,8 +357,6 @@ void AutofillDialogControllerAndroid::DialogContinue( |
scoped_ptr<wallet::FullWallet> full_wallet = |
AutofillDialogResult::ConvertFromJava(env, wallet); |
FillOutputForSection( |
- SECTION_EMAIL, form_structure_, full_wallet.get(), email); |
- FillOutputForSection( |
SECTION_CC_BILLING, form_structure_, full_wallet.get(), email); |
FillOutputForSection( |
SECTION_SHIPPING, form_structure_, full_wallet.get(), email); |