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

Unified Diff: chrome/app/mash/mash_runner.cc

Issue 2729523006: Remove the |max_threads| argument from CreateAndSetSimpleTaskScheduler(). (Closed)
Patch Set: fix build error 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 | « base/task_scheduler/task_scheduler.cc ('k') | chrome/service/service_process.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/app/mash/mash_runner.cc
diff --git a/chrome/app/mash/mash_runner.cc b/chrome/app/mash/mash_runner.cc
index d4e181a31de0faee2064b85a27b9dafbc225ffcd..a755f5b9beac6b2eec29b9c9127e07dfdeff7bd0 100644
--- a/chrome/app/mash/mash_runner.cc
+++ b/chrome/app/mash/mash_runner.cc
@@ -22,7 +22,6 @@
#include "base/process/launch.h"
#include "base/process/process.h"
#include "base/run_loop.h"
-#include "base/sys_info.h"
#include "base/task_scheduler/task_scheduler.h"
#include "base/threading/sequenced_worker_pool.h"
#include "base/threading/thread.h"
@@ -157,8 +156,7 @@ MashRunner::MashRunner() {}
MashRunner::~MashRunner() {}
int MashRunner::Run() {
- base::TaskScheduler::CreateAndSetSimpleTaskScheduler(
- base::SysInfo::NumberOfProcessors());
+ base::TaskScheduler::CreateAndSetSimpleTaskScheduler("MashRunner");
if (IsChild())
return RunChild();
« no previous file with comments | « base/task_scheduler/task_scheduler.cc ('k') | chrome/service/service_process.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698