| Index: chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillDialogUtils.java
|
| diff --git a/chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillDialogUtils.java b/chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillDialogUtils.java
|
| index 1ede21677244cae7018fd55758f95787f65526d3..7c307471c918b585d15b6bc50b412d7dbeab294b 100644
|
| --- a/chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillDialogUtils.java
|
| +++ b/chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillDialogUtils.java
|
| @@ -86,7 +86,7 @@ public class AutofillDialogUtils {
|
| case AutofillDialogConstants.SECTION_BILLING :
|
| return R.id.editing_layout_billing;
|
| case AutofillDialogConstants.SECTION_EMAIL :
|
| - return INVALID_ID;
|
| + return R.id.editing_layout_email;
|
| default:
|
| assert(false);
|
| return INVALID_ID;
|
| @@ -127,7 +127,8 @@ public class AutofillDialogUtils {
|
| public static int getViewIDForField(int section, int field) {
|
| switch (section) {
|
| case AutofillDialogConstants.SECTION_EMAIL :
|
| - return 0;
|
| + assert(field == AutofillDialogConstants.EMAIL_ADDRESS);
|
| + return R.id.email_address;
|
| case AutofillDialogConstants.SECTION_CC :
|
| switch (field) {
|
| case AutofillDialogConstants.CREDIT_CARD_NUMBER :
|
|
|