| Index: content/browser/payments/payment_app_manager_unittest.cc
|
| diff --git a/content/browser/payments/payment_app_manager_unittest.cc b/content/browser/payments/payment_app_manager_unittest.cc
|
| index 6f03f02ea28ae86671539f889b4e709f24f88636..d29d395cee097c470bd026ca239f66565289143e 100644
|
| --- a/content/browser/payments/payment_app_manager_unittest.cc
|
| +++ b/content/browser/payments/payment_app_manager_unittest.cc
|
| @@ -62,11 +62,12 @@
|
| embedded_worker_helper_->browser_context(), base::FilePath(),
|
| nullptr, nullptr, nullptr, nullptr, nullptr, nullptr, nullptr,
|
| nullptr, nullptr, nullptr, nullptr, nullptr, nullptr, nullptr)) {
|
| +
|
| embedded_worker_helper_->context_wrapper()->set_storage_partition(
|
| storage_partition_impl_.get());
|
|
|
| - payment_app_context_ = new PaymentAppContextImpl();
|
| - payment_app_context_->Init(embedded_worker_helper_->context_wrapper());
|
| + payment_app_context_ =
|
| + new PaymentAppContext(embedded_worker_helper_->context_wrapper());
|
|
|
| bool called = false;
|
| embedded_worker_helper_->context()->RegisterServiceWorker(
|
| @@ -108,7 +109,7 @@
|
| std::unique_ptr<EmbeddedWorkerTestHelper> embedded_worker_helper_;
|
| std::unique_ptr<StoragePartitionImpl> storage_partition_impl_;
|
| int64_t sw_registration_id_;
|
| - scoped_refptr<PaymentAppContextImpl> payment_app_context_;
|
| + scoped_refptr<PaymentAppContext> payment_app_context_;
|
| payments::mojom::PaymentAppManagerPtr service_;
|
|
|
| // Owned by payment_app_context_.
|
|
|