Use ScopedTaskEnvironment instead of MessageLoopForUI in /ui/gfx
MessageLoopForUI will go away, eventually. ScopedTaskEnvironment will per default start a ThreadPool, which should be fine in most of the cases. If you believe 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=msw@chromium.org Change-Id: I682631b97e8a874f9d586520a937929d91953e44 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1718025Reviewed-by:Michael Wasserman <msw@chromium.org> Commit-Queue: Carlos Caballero <carlscab@google.com> Cr-Commit-Position: refs/heads/master@{#685561}
Showing
Please register or sign in to comment