commit | 78b2ef02daff55860c6c6ff70c880a6095f02e46 | [log] [tgz] |
---|---|---|
author | Alexandre Courbot <acourbot@chromium.org> | Fri Dec 14 11:04:48 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Dec 14 11:04:48 2018 |
tree | ef3714280dbdc95024fd80195a009b4427a1840d | |
parent | dd878111819095d5b2e5ad92eb0d06d77916b0c0 [diff] |
media/gpu/veaunittest: Initialize Ozone in global environment The Ozone initialization and creation of the rendering thread was performed before running each individual tests. This triggers a CalledOnValidSequence() DCHECK in Debug builds when AfterSandboxEntry() tries to start the DRM thread for the second time, and Thread::Start() is called from a different thread that with the first test. Fix this by moving all Ozone initialization and the rendering thread to the global test environment. BUG=907767 TEST=Checked that VEA was passing on Cheza with --single-process-tests. Change-Id: Ic9b52a31310b40c99368620ea78cf861d084032d Reviewed-on: https://chromium-review.googlesource.com/c/1369755 Commit-Queue: Alexandre Courbot <acourbot@chromium.org> Reviewed-by: Hirokazu Honda <hiroh@chromium.org> Cr-Commit-Position: refs/heads/master@{#616633}
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 .