Index: content/browser/service_worker/embedded_worker_test_helper.cc |
diff --git a/content/browser/service_worker/embedded_worker_test_helper.cc b/content/browser/service_worker/embedded_worker_test_helper.cc |
index e6f8ce57a7f0c4d616fdf596e2e30f6c5e73bcfc..3d8790f6a531d159e08bbc6a6e1702fb6587a9d0 100644 |
--- a/content/browser/service_worker/embedded_worker_test_helper.cc |
+++ b/content/browser/service_worker/embedded_worker_test_helper.cc |
@@ -23,9 +23,10 @@ EmbeddedWorkerTestHelper::EmbeddedWorkerTestHelper(int mock_render_process_id) |
: wrapper_(new ServiceWorkerContextWrapper(NULL)), |
next_thread_id_(0), |
weak_factory_(this) { |
- wrapper_->InitForTesting(base::FilePath(), |
- base::MessageLoopProxy::current(), |
- NULL); |
+ wrapper_->InitInternal(base::FilePath(), |
+ base::MessageLoopProxy::current(), |
+ base::MessageLoopProxy::current(), |
+ NULL); |
scoped_ptr<ServiceWorkerProcessManager> process_manager( |
new ServiceWorkerProcessManager(wrapper_)); |
process_manager->SetProcessRefcountOpsForTest(base::Bind(AlwaysTrue), |