Chromium Code Reviews| Index: components/cronet/ios/cronet_environment.mm |
| diff --git a/components/cronet/ios/cronet_environment.mm b/components/cronet/ios/cronet_environment.mm |
| index 40fb6ac9bedadccaa129f0b50bd2ecff31a0567d..3395171039c05b990b813736cd5501bc4f4ea5f7 100644 |
| --- a/components/cronet/ios/cronet_environment.mm |
| +++ b/components/cronet/ios/cronet_environment.mm |
| @@ -22,7 +22,6 @@ |
| #include "base/path_service.h" |
| #include "base/single_thread_task_runner.h" |
| #include "base/synchronization/waitable_event.h" |
| -#include "base/sys_info.h" |
| #include "base/task_scheduler/task_scheduler.h" |
| #include "base/threading/worker_pool.h" |
| #include "components/cronet/histogram_manager.h" |
| @@ -119,8 +118,7 @@ void CronetEnvironment::Initialize() { |
| if (!g_at_exit_) |
| g_at_exit_ = new base::AtExitManager; |
| - base::TaskScheduler::CreateAndSetSimpleTaskScheduler( |
| - base::SysInfo::NumberOfProcessors()); |
| + base::TaskScheduler::CreateAndSetSimpleTaskScheduler("Cronet"); |
|
robliao
2017/03/13 23:56:05
CronetIos might be more specific.
Remoting in a l
fdoray
2017/03/14 15:08:22
Done.
|
| url::Initialize(); |
| base::CommandLine::Init(0, nullptr); |