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 9123bff7d09265dd63c9cf17f8024439153e57c0..ae621f3f626f1952705e3c1f5f773866cd712eb0 100644 |
--- a/content/browser/payments/payment_app_manager_unittest.cc |
+++ b/content/browser/payments/payment_app_manager_unittest.cc |
@@ -62,12 +62,11 @@ class PaymentAppManagerTest : public testing::Test { |
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 PaymentAppContext(embedded_worker_helper_->context_wrapper()); |
+ payment_app_context_ = new PaymentAppContextImpl(); |
+ payment_app_context_->Init(embedded_worker_helper_->context_wrapper()); |
bool called = false; |
embedded_worker_helper_->context()->RegisterServiceWorker( |
@@ -109,7 +108,7 @@ class PaymentAppManagerTest : public testing::Test { |
std::unique_ptr<EmbeddedWorkerTestHelper> embedded_worker_helper_; |
std::unique_ptr<StoragePartitionImpl> storage_partition_impl_; |
int64_t sw_registration_id_; |
- scoped_refptr<PaymentAppContext> payment_app_context_; |
+ scoped_refptr<PaymentAppContextImpl> payment_app_context_; |
payments::mojom::PaymentAppManagerPtr service_; |
// Owned by payment_app_context_. |