| Index: components/payments/content/payment_request_state.cc
|
| diff --git a/components/payments/content/payment_request_state.cc b/components/payments/content/payment_request_state.cc
|
| index 47fe27f1539d65424b442caf421c0ae5f2ff5ab0..f5be520b04530c7b6112982e0f64ce4d291e8af3 100644
|
| --- a/components/payments/content/payment_request_state.cc
|
| +++ b/components/payments/content/payment_request_state.cc
|
| @@ -10,6 +10,7 @@
|
| #include "components/autofill/core/browser/autofill_profile.h"
|
| #include "components/autofill/core/browser/credit_card.h"
|
| #include "components/autofill/core/browser/personal_data_manager.h"
|
| +#include "components/payments/content/payment_request_delegate.h"
|
| #include "components/payments/content/payment_request_spec.h"
|
| #include "components/payments/core/autofill_payment_instrument.h"
|
|
|
| @@ -147,7 +148,8 @@ void PaymentRequestState::PopulateProfileCache() {
|
| // indirectly owned by this object.
|
| std::unique_ptr<PaymentInstrument> instrument =
|
| base::MakeUnique<AutofillPaymentInstrument>(
|
| - basic_card_network, *card, shipping_profiles_, app_locale_);
|
| + basic_card_network, *card, shipping_profiles_, app_locale_,
|
| + delegate_->GetPaymentRequestDelegate());
|
| available_instruments_.push_back(std::move(instrument));
|
| }
|
| }
|
|
|