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
tree: 6162b10fdc3bec59af976624936d49114f065809
  1. base/
  2. build/
  3. components/
  4. dbus/
  5. device/
  6. ipc/
  7. mojo/
  8. testing/
  9. third_party/
  10. ui/