| Index: media/gpu/video_decode_accelerator_unittest.cc
|
| diff --git a/media/gpu/video_decode_accelerator_unittest.cc b/media/gpu/video_decode_accelerator_unittest.cc
|
| index 168bd5970756b2df702d9e5e5bb6a6a7c90eaf3f..97ffb0595269d2795d1348af13b96dd0f8f93f52 100644
|
| --- a/media/gpu/video_decode_accelerator_unittest.cc
|
| +++ b/media/gpu/video_decode_accelerator_unittest.cc
|
| @@ -268,6 +268,10 @@ class VideoDecodeAcceleratorTestEnvironment : public ::testing::Environment {
|
| base::Thread::Options options;
|
| #if defined(OS_WIN)
|
| options.message_loop_type = base::MessageLoop::TYPE_UI;
|
| +#elif defined(USE_OZONE)
|
| + // Some ozone platforms (e.g. drm) expects to be able to watch a file
|
| + // handler from this thread. So use the IO type message loop here.
|
| + options.message_loop_type = base::MessageLoop::TYPE_IO;
|
| #endif
|
| rendering_thread_.StartWithOptions(options);
|
|
|
|
|