commit | 818583c686de1402090daafaef7172513757545d | [log] [tgz] |
---|---|---|
author | kylechar <kylechar@chromium.org> | Tue Jul 09 13:07:02 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Jul 09 13:07:02 2019 |
tree | d540e20bd4ebfec4c94728c6fb0f98fd30614b08 | |
parent | b96a0031b195c5d91f8f9fb754a6b3e201df9563 [diff] |
Use TestGpuServiceHolder in more tests. Change InProcessContextProvider to use TestGpuServiceHolder instead of GetTestGpuThreadHolder(). Both provide a working GPU thread but TestGpuServiceProvider has a working GpuServiceImpl which is required for SkiaRenderer. A few test suites need mojo initialized for this to work. NativeWindowOcclusionTrackerTest is a special case of tests that aren't browser test based and don't get mojo initialized. We can safely initialize mojo at the start of each test as all interactive_ui_tests run in their own process. exo_unittests had a problem where GL was shutdown before the GPU service. Resetting the GPU service at the end of each test fixes this. Bug: 956144 Change-Id: I0cba4b892e81f50e84b13a20324f7eacd5f3a45c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1632913 Reviewed-by: Mitsuru Oshima <oshima@chromium.org> Reviewed-by: Scott Violet <sky@chromium.org> Reviewed-by: Jonathan Backer <backer@chromium.org> Commit-Queue: kylechar <kylechar@chromium.org> Cr-Commit-Position: refs/heads/master@{#675619}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .