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 ef1051084b293d6abd57b863ace0780d60607d69..75296577215b61e8b9dd8379e624dd872f73606a 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); |
@@ -368,8 +368,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); |