Fix at_exit error in video_decode tests
ui::OzoneGpuTestHelper needs to be uninstantiated in TearDown() since it creates a base::Thread which wants to register with the AtExitManager. However the AtExitManager runs out of scope before the testing::Environment. BUG=447798 TEST=compile and run ./video_decode_accelerator_unittest (I had https://codereview.chromium.org/938873002/ applied as well to make sure tests succeed) Review URL: https://codereview.chromium.org/949183004 Cr-Commit-Position: refs/heads/master@{#319148}
Showing
Please register or sign in to comment