Backport some tests in /content/public/test to SingleThreadTaskEnvironment
These tests were previously migrated from single-threaded MessageLoop to a multi-threaded TaskEnvironment (then named ScopedTaskEnvironment) as part of crbug.com/891670. //base OWNERS decided in retrospect that it was better to keep a single-threaded option for TaskEnvironment and introduced SingleThreadTaskEnvironment. This CL retrofits that decision for /content/public/test. This CL is a no-op if it passes CQ. This CL was uploaded by git cl split. Edit: Revert changes to RenderViewTest and clarify comments in RenderViewHostTestEnabler in terms of "TaskEnvironment", not "MessageLoop". R=tommi@chromium.org Bug: 891670 Change-Id: I019f7a9f8c7b07e922feffef1e271a8d2e35e291 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1787066 Commit-Queue: Gabriel Charette <gab@chromium.org> Auto-Submit: Gabriel Charette <gab@chromium.org> Reviewed-by:Tommi <tommi@chromium.org> Cr-Commit-Position: refs/heads/master@{#694585}
Showing
Please register or sign in to comment