Chromium Code Reviews| Index: ui/gl/test/gl_image_test_support.cc |
| diff --git a/ui/gl/test/gl_image_test_support.cc b/ui/gl/test/gl_image_test_support.cc |
| index 79709c4741c605fa7bf4491bb04d0004e977950a..86123621c259ae87dfa8d96a353870921b61f1dc 100644 |
| --- a/ui/gl/test/gl_image_test_support.cc |
| +++ b/ui/gl/test/gl_image_test_support.cc |
| @@ -12,12 +12,19 @@ |
| #if defined(USE_OZONE) |
| #include "base/run_loop.h" |
| +#include "ui/ozone/public/ozone_platform.h" |
| #endif |
| namespace gl { |
| // static |
| void GLImageTestSupport::InitializeGL() { |
| +#if defined(USE_OZONE) |
| + ui::OzonePlatform::InitParams params; |
| + params.single_process = false; |
|
piman
2017/03/15 19:48:21
true?
Unit tests run in single-process mode.
kylechar
2017/03/15 20:59:08
Whoops. Done.
|
| + ui::OzonePlatform::InitializeForGPU(params); |
| +#endif |
| + |
| std::vector<GLImplementation> allowed_impls = |
| init::GetAllowedGLImplementations(); |
| DCHECK(!allowed_impls.empty()); |