diff --git a/chromium_src/components/autofill/core/browser/payments/offer_notification_handler.cc b/chromium_src/components/autofill/core/browser/payments/offer_notification_handler.cc index d25901178856..71479cedbeea 100644 --- a/chromium_src/components/autofill/core/browser/payments/offer_notification_handler.cc +++ b/chromium_src/components/autofill/core/browser/payments/offer_notification_handler.cc @@ -14,7 +14,7 @@ namespace { // This replicates the functionality that the removed upstream flag // kAutofillEnableOfferNotificationForPromoCodes used to have. -bool BraveIsOfferValid(AutofillOfferData* offer) { +bool BraveIsOfferValid(const AutofillOfferData* offer) { if (!offer) { return false; }