Index: content/child/child_process.cc |
diff --git a/content/child/child_process.cc b/content/child/child_process.cc |
index c772eb35c966566cf8c85220d757d24e1c7a3263..d3f557e1bdbd3c67892ac330101d6f8145d1cce6 100644 |
--- a/content/child/child_process.cc |
+++ b/content/child/child_process.cc |
@@ -54,8 +54,9 @@ ChildProcess::ChildProcess( |
// test process. |
if (!base::TaskScheduler::GetInstance()) { |
if (task_scheduler_init_params) { |
- base::TaskScheduler::CreateAndSetDefaultTaskScheduler( |
- task_scheduler_name, *task_scheduler_init_params.get()); |
+ base::TaskScheduler::Create(task_scheduler_name); |
+ base::TaskScheduler::GetInstance()->Start( |
+ *task_scheduler_init_params.get()); |
} else { |
base::TaskScheduler::CreateAndStartWithDefaultParams(task_scheduler_name); |
} |