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=maxmorin@chromium.org Change-Id: Ia7812103242968ac29a9055488c9d10e285d9b1b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1635823 Auto-Submit: Carlos Caballero <carlscab@google.com> Reviewed-by:Max Morin <maxmorin@chromium.org> Commit-Queue: Max Morin <maxmorin@chromium.org> Cr-Commit-Position: refs/heads/master@{#665063}
Showing
Please register or sign in to comment