| 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 160579a966845548ea65c05d7a8d84e02743ff98..bbd96ba9ff0ba4888367c36ab1341e1fd38a4af9 100644
|
| --- a/chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc
|
| +++ b/chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc
|
| @@ -254,14 +254,11 @@ void AutofillDialogControllerAndroid::Show() {
|
| }
|
|
|
| // Determine what field types should be included in the dialog.
|
| - bool has_types = false;
|
| - bool has_sections = false;
|
| - form_structure_.ParseFieldTypesFromAutocompleteAttributes(
|
| - &has_types, &has_sections);
|
| + form_structure_.ParseFieldTypesFromAutocompleteAttributes();
|
|
|
| // Fail if the author didn't specify autocomplete types, or
|
| // if the dialog shouldn't be shown in a given circumstances.
|
| - if (!has_types) {
|
| + if (!form_structure_.has_author_specified_types()) {
|
| callback_.Run(
|
| AutofillClient::AutocompleteResultErrorDisabled,
|
| base::ASCIIToUTF16("Form is missing autocomplete attributes."),
|
|
|