Use ScopedTaskEnvironment instead of MessageLoop in /ui/gfx/range/mojo
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 Change-Id: I4f758e010b973362f1c64f8fe6b821ec6f90e760 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1643867Reviewed-by:Michael Wasserman <msw@chromium.org> Reviewed-by:
Dominick Ng <dominickn@chromium.org> Commit-Queue: Carlos Caballero <carlscab@google.com> Cr-Commit-Position: refs/heads/master@{#666631}
Showing
Please register or sign in to comment