Move code that sets up the environment to run a task to TaskTracker::PerformRunTask().
Move code that sets up the environment to run a task (task runner
handles, thread restrictions) from TaskTracker::RunTask() to
TaskTracker::PerformRunTask(). That prevents code in the overrides
of TaskTracker::PerformRunTask() to run under the thread restrictions
set by TaskTracker::RunTask().
BUG=553459
Review-Url: https://codereview.chromium.org/2899443002
Cr-Commit-Position: refs/heads/master@{#473338}
CrOS-Libchrome-Original-Commit: ea326b6451c3b0b6176c65bf517e66a26fc3a543
4 files changed