| 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 698e260d3de821c3fe57a65b3c27c5415ee40c21..e6f8ce57a7f0c4d616fdf596e2e30f6c5e73bcfc 100644
|
| --- a/content/browser/service_worker/embedded_worker_test_helper.cc
|
| +++ b/content/browser/service_worker/embedded_worker_test_helper.cc
|
| @@ -23,7 +23,9 @@ EmbeddedWorkerTestHelper::EmbeddedWorkerTestHelper(int mock_render_process_id)
|
| : wrapper_(new ServiceWorkerContextWrapper(NULL)),
|
| next_thread_id_(0),
|
| weak_factory_(this) {
|
| - wrapper_->Init(base::FilePath(), NULL);
|
| + wrapper_->InitForTesting(base::FilePath(),
|
| + base::MessageLoopProxy::current(),
|
| + NULL);
|
| scoped_ptr<ServiceWorkerProcessManager> process_manager(
|
| new ServiceWorkerProcessManager(wrapper_));
|
| process_manager->SetProcessRefcountOpsForTest(base::Bind(AlwaysTrue),
|
|
|