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

Unified Diff: content/child/child_process.cc

Issue 2729523006: Remove the |max_threads| argument from CreateAndSetSimpleTaskScheduler(). (Closed)
Patch Set: CR robliao #11 - ContentChild 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
Index: content/child/child_process.cc
diff --git a/content/child/child_process.cc b/content/child/child_process.cc
index 6d713f497816d42b672fe70a18b9ec5897ca89d8..7e9357f9300bfa38c73b302478b94e77d96021b8 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("ContentChild");
} else {
DCHECK(worker_pool_index_for_traits_callback);
base::TaskScheduler::CreateAndSetDefaultTaskScheduler(

Powered by Google App Engine
This is Rietveld 408576698