Use ScopedTaskEnvironment instead of MessageLoop
MessageLoop will go away, eventually. ScopedTaskEnvironment will per default start a ThreadPool, which should be fine in most of the cases. If you belive your test needs to make sure that no ThreadPool runs let me know and I will update the patch. BUG=891670 This CL was uploaded by git cl split. R=mcasas@chromium.org Change-Id: I3c7f0757fba9484cd6a44f5bb2cdac434cdd3fc3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1635814 Commit-Queue: Miguel Casas <mcasas@chromium.org> Reviewed-by:Miguel Casas <mcasas@chromium.org> Auto-Submit: Carlos Caballero <carlscab@google.com> Cr-Commit-Position: refs/heads/master@{#665948}
Showing
Please register or sign in to comment