| Index: chrome/browser/ui/autofill/tab_autofill_manager_delegate.cc
|
| diff --git a/chrome/browser/ui/autofill/tab_autofill_manager_delegate.cc b/chrome/browser/ui/autofill/tab_autofill_manager_delegate.cc
|
| index bc70bb1e131089db49bd6b417f77b7b4e6004d52..b972b5dbf6974d04dec19e750583aa23eaecebef 100644
|
| --- a/chrome/browser/ui/autofill/tab_autofill_manager_delegate.cc
|
| +++ b/chrome/browser/ui/autofill/tab_autofill_manager_delegate.cc
|
| @@ -97,7 +97,7 @@ void TabAutofillManagerDelegate::ConfirmSaveCreditCard(
|
| void TabAutofillManagerDelegate::ShowRequestAutocompleteDialog(
|
| const FormData& form,
|
| const GURL& source_url,
|
| - const base::Callback<void(const FormStructure*)>& callback) {
|
| + const ResultCallback& callback) {
|
| HideRequestAutocompleteDialog();
|
|
|
| dialog_controller_ = AutofillDialogController::Create(web_contents_,
|
| @@ -107,7 +107,8 @@ void TabAutofillManagerDelegate::ShowRequestAutocompleteDialog(
|
| if (dialog_controller_) {
|
| dialog_controller_->Show();
|
| } else {
|
| - callback.Run(NULL);
|
| + callback.Run(AutofillManagerDelegate::AutocompleteResultErrorDisabled,
|
| + NULL);
|
| NOTIMPLEMENTED();
|
| }
|
| }
|
|
|