| Index: chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc
|
| diff --git a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc
|
| index 2b1a40c969e8edaac9c2e253d7198ce5e081cda0..1f079f401188412de2839e468dd87ad155151306 100644
|
| --- a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc
|
| +++ b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc
|
| @@ -654,7 +654,7 @@ void AutofillDialogControllerImpl::Show() {
|
| // Fail if the author didn't specify autocomplete types.
|
| if (!has_types) {
|
| callback_.Run(
|
| - AutofillManagerDelegate::AutocompleteResultErrorUnsupported,
|
| + AutofillManagerDelegate::AutocompleteResultErrorDisabled,
|
| base::ASCIIToUTF16("Form is missing autocomplete attributes."),
|
| NULL);
|
| delete this;
|
| @@ -674,7 +674,7 @@ void AutofillDialogControllerImpl::Show() {
|
|
|
| if (!has_credit_card_field) {
|
| callback_.Run(
|
| - AutofillManagerDelegate::AutocompleteResultErrorUnsupported,
|
| + AutofillManagerDelegate::AutocompleteResultErrorDisabled,
|
| base::ASCIIToUTF16("Form is not a payment form (must contain "
|
| "some autocomplete=\"cc-*\" fields). "),
|
| NULL);
|
|
|