| Index: content/gpu/in_process_gpu_thread.cc
|
| diff --git a/content/gpu/in_process_gpu_thread.cc b/content/gpu/in_process_gpu_thread.cc
|
| index eeb6811d0a717bd4e19418fa5682cde2f1ec4593..f92d9cb3dcb43ff76ea87330bd59d05ff32c63cb 100644
|
| --- a/content/gpu/in_process_gpu_thread.cc
|
| +++ b/content/gpu/in_process_gpu_thread.cc
|
| @@ -18,6 +18,10 @@
|
| #include "base/android/jni_android.h"
|
| #endif
|
|
|
| +#if defined(USE_OZONE)
|
| +#include "ui/ozone/public/ozone_platform.h"
|
| +#endif
|
| +
|
| namespace content {
|
|
|
| InProcessGpuThread::InProcessGpuThread(
|
| @@ -51,6 +55,12 @@ void InProcessGpuThread::Init() {
|
|
|
| gpu_process_ = new GpuProcess(io_thread_priority);
|
|
|
| +#if defined(USE_OZONE)
|
| + ui::OzonePlatform::InitParams params;
|
| + params.single_process = true;
|
| + ui::OzonePlatform::InitializeForGPU(params);
|
| +#endif
|
| +
|
| gpu::GPUInfo gpu_info;
|
| if (!gl::init::InitializeGLOneOff())
|
| VLOG(1) << "gl::init::InitializeGLOneOff failed";
|
|
|