Fix lack of lock in MTTR::TakePendingTasks() and add a few more safety checks.

BUG=587199

Review-Url: https://codereview.chromium.org/2720903002
Cr-Commit-Position: refs/heads/master@{#454159}


CrOS-Libchrome-Original-Commit: eebea688c3104b8e6633d74c7e313fca99e18a5b
1 file changed
tree: 886dcbe5630e3d149de47ec63979e165de12a161
  1. base/
  2. build/
  3. components/
  4. dbus/
  5. device/
  6. ipc/
  7. mojo/
  8. testing/
  9. third_party/
  10. ui/