| Index: ios/chrome/browser/payments/test_payment_request.mm
|
| diff --git a/ios/chrome/browser/payments/test_payment_request.mm b/ios/chrome/browser/payments/test_payment_request.mm
|
| index 336d45fc41e91b1223dc1a99b13b052be11d6851..be46d8a30b2423434ffa8c5f8ad771db6d06e9f9 100644
|
| --- a/ios/chrome/browser/payments/test_payment_request.mm
|
| +++ b/ios/chrome/browser/payments/test_payment_request.mm
|
| @@ -26,9 +26,13 @@ void TestPaymentRequest::ClearCreditCards() {
|
| }
|
|
|
| autofill::RegionDataLoader* TestPaymentRequest::GetRegionDataLoader() {
|
| - return region_data_loader_;
|
| + if (region_data_loader_)
|
| + return region_data_loader_;
|
| + return PaymentRequest::GetRegionDataLoader();
|
| }
|
|
|
| payments::PaymentsProfileComparator* TestPaymentRequest::profile_comparator() {
|
| - return profile_comparator_;
|
| + if (profile_comparator_)
|
| + return profile_comparator_;
|
| + return PaymentRequest::profile_comparator();
|
| }
|
|
|