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

Unified Diff: content/child/child_process.cc

Issue 2836293006: Remove TaskScheduler::CreateAndSetSimpleTaskScheduler(). (Closed)
Patch Set: Created 3 years, 8 months 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
« no previous file with comments | « components/cronet/ios/cronet_environment.mm ('k') | remoting/client/chromoting_client_runtime.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/child_process.cc
diff --git a/content/child/child_process.cc b/content/child/child_process.cc
index e629ce5b5062336b697a726a93f594866d28e928..c772eb35c966566cf8c85220d757d24e1c7a3263 100644
--- a/content/child/child_process.cc
+++ b/content/child/child_process.cc
@@ -57,7 +57,7 @@ ChildProcess::ChildProcess(
base::TaskScheduler::CreateAndSetDefaultTaskScheduler(
task_scheduler_name, *task_scheduler_init_params.get());
} else {
- base::TaskScheduler::CreateAndSetSimpleTaskScheduler(task_scheduler_name);
+ base::TaskScheduler::CreateAndStartWithDefaultParams(task_scheduler_name);
}
DCHECK(base::TaskScheduler::GetInstance());
« no previous file with comments | « components/cronet/ios/cronet_environment.mm ('k') | remoting/client/chromoting_client_runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698