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

Unified Diff: content/child/child_process.cc

Issue 2729523006: Remove the |max_threads| argument from CreateAndSetSimpleTaskScheduler(). (Closed)
Patch Set: rebase Created 3 years, 9 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/ios/app_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 6d713f497816d42b672fe70a18b9ec5897ca89d8..8310ec383e4c536a45a6a819a30092e998f45029 100644
--- a/content/child/child_process.cc
+++ b/content/child/child_process.cc
@@ -56,7 +56,7 @@ ChildProcess::ChildProcess(
if (worker_pool_params.empty()) {
DCHECK(!worker_pool_index_for_traits_callback);
constexpr int kMaxThreads = 2;
- base::TaskScheduler::CreateAndSetSimpleTaskScheduler(kMaxThreads);
+ base::TaskScheduler::CreateAndSetSimpleTaskScheduler("Child");
robliao 2017/03/14 20:06:08 Nit: ContentChildProcess might be more specific.
fdoray 2017/03/15 14:24:18 Done.
} else {
DCHECK(worker_pool_index_for_traits_callback);
base::TaskScheduler::CreateAndSetDefaultTaskScheduler(
« no previous file with comments | « components/cronet/ios/cronet_environment.mm ('k') | remoting/client/ios/app_runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698