Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(285)

Unified Diff: content/browser/payments/payment_app_manager_unittest.cc

Issue 2572183002: PaymentApp: Introduce PaymentAppDatabase class. (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 b7e307b9e35a31ac9bc333b6d577109b4db02c3f..8bab9ec6848ed63a72cb046c810e1aaaa65ce8e6 100644
--- a/content/browser/payments/payment_app_manager_unittest.cc
+++ b/content/browser/payments/payment_app_manager_unittest.cc
@@ -66,8 +66,8 @@ class PaymentAppManagerTest : public testing::Test {
embedded_worker_helper_->context_wrapper()->set_storage_partition(
storage_partition_impl_.get());
- payment_app_context_ =
- new PaymentAppContextImpl(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(

Powered by Google App Engine
This is Rietveld 408576698