Chromium Code Reviews| Index: content/gpu/gpu_child_thread.cc |
| diff --git a/content/gpu/gpu_child_thread.cc b/content/gpu/gpu_child_thread.cc |
| index 9d76301fb9a725ebfce565dfb6910cd0bd425621..edc1bdcf1f072a168315dc4c9b6dba7c2fbc6200 100644 |
| --- a/content/gpu/gpu_child_thread.cc |
| +++ b/content/gpu/gpu_child_thread.cc |
| @@ -182,6 +182,13 @@ GpuChildThread::GpuChildThread( |
| base::CommandLine::ForCurrentProcess()->HasSwitch( |
| switches::kInProcessGPU)); |
| +#if defined(USE_OZONE) |
|
rjkroege
2016/09/12 20:39:12
you shouldn't need this here.
fwang
2016/09/13 13:49:19
There is a comment in gpu_main.cc:
"With in-proce
|
| + ui::OzonePlatform::InitParams ozoneInitParams; |
| + ozoneInitParams.connector = nullptr; |
| + ozoneInitParams.single_process = true; |
| + ui::OzonePlatform::InitializeForGPU(ozoneInitParams); |
| +#endif |
| + |
| if (!gl::init::InitializeGLOneOff()) |
| VLOG(1) << "gl::init::InitializeGLOneOff failed"; |