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 fcfe3c47eff386a66e100d3f3172f47c129be84c..c3ae41b9b5189796092d821e6d6372b784676052 100644 |
--- a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc |
+++ b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc |
@@ -876,7 +876,7 @@ void AutofillDialogControllerImpl::GetWalletItems() { |
wallet_items_requested_ = true; |
wallet::WalletClient* wallet_client = GetWalletClient(); |
- wallet_client->CancelRequests(); |
+ wallet_client->CancelRequest(); |
previously_selected_instrument_id_.clear(); |
previously_selected_shipping_address_id_.clear(); |
@@ -2422,7 +2422,7 @@ void AutofillDialogControllerImpl::AccountChoiceChanged() { |
wallet::WalletClient* client = GetWalletClient(); |
if (is_submitting_) |
- client->CancelRequests(); |
+ client->CancelRequest(); |
SetIsSubmitting(false); |
@@ -2626,7 +2626,7 @@ bool AutofillDialogControllerImpl::IsManuallyEditingSection( |
void AutofillDialogControllerImpl::OnWalletSigninError() { |
account_chooser_model_->SetHadWalletSigninError(); |
- GetWalletClient()->CancelRequests(); |
+ GetWalletClient()->CancelRequest(); |
LogDialogLatencyToShow(); |
} |
@@ -2635,7 +2635,7 @@ void AutofillDialogControllerImpl::DisableWallet( |
signin_helper_.reset(); |
wallet_items_.reset(); |
wallet_errors_.clear(); |
- GetWalletClient()->CancelRequests(); |
+ GetWalletClient()->CancelRequest(); |
SetIsSubmitting(false); |
wallet_error_notification_ = GetWalletError(error_type); |
account_chooser_model_->SetHadWalletError(); |