| Index: chrome/browser/chromeos/login/session/user_session_manager.cc
|
| diff --git a/chrome/browser/chromeos/login/session/user_session_manager.cc b/chrome/browser/chromeos/login/session/user_session_manager.cc
|
| index f6591e257a203969056bd2de8dfc40ce98fd3ec7..2b9a0bcc65a0e47a2741eb3ba2a4a37a7a2ecf00 100644
|
| --- a/chrome/browser/chromeos/login/session/user_session_manager.cc
|
| +++ b/chrome/browser/chromeos/login/session/user_session_manager.cc
|
| @@ -21,9 +21,8 @@
|
| #include "base/single_thread_task_runner.h"
|
| #include "base/strings/string16.h"
|
| #include "base/sys_info.h"
|
| -#include "base/task_runner_util.h"
|
| +#include "base/task_scheduler/post_task.h"
|
| #include "base/threading/thread_task_runner_handle.h"
|
| -#include "base/threading/worker_pool.h"
|
| #include "chrome/browser/about_flags.h"
|
| #include "chrome/browser/app_mode/app_mode_utils.h"
|
| #include "chrome/browser/browser_process.h"
|
| @@ -563,9 +562,12 @@ void UserSessionManager::InitRlz(Profile* profile) {
|
| base::Bind(&UserSessionManager::InitRlz, AsWeakPtr(), profile));
|
| return;
|
| }
|
| - base::PostTaskAndReplyWithResult(
|
| - base::WorkerPool::GetTaskRunner(false).get(),
|
| - FROM_HERE,
|
| + base::PostTaskWithTraitsAndReplyWithResult(
|
| + FROM_HERE, base::TaskTraits()
|
| + .WithShutdownBehavior(
|
| + base::TaskShutdownBehavior::CONTINUE_ON_SHUTDOWN)
|
| + .WithPriority(base::TaskPriority::BACKGROUND)
|
| + .WithFileIO(),
|
| base::Bind(&base::PathExists, GetRlzDisabledFlagPath()),
|
| base::Bind(&UserSessionManager::InitRlzImpl, AsWeakPtr(), profile));
|
| #endif
|
|
|