| Index: media/gpu/rendering_helper.cc
|
| diff --git a/media/gpu/rendering_helper.cc b/media/gpu/rendering_helper.cc
|
| index 69d631b30cda4a97128fca6d179ba56b3f1e1282..1031ed43d592484e6b38d6b182ccb571f9350337 100644
|
| --- a/media/gpu/rendering_helper.cc
|
| +++ b/media/gpu/rendering_helper.cc
|
| @@ -198,6 +198,12 @@ void RenderingHelper::InitializeOneOff(base::WaitableEvent* done) {
|
| cmd_line->AppendSwitchASCII(switches::kUseGL, gl::kGLImplementationEGLName);
|
| #endif
|
|
|
| +#if defined(USE_OZONE)
|
| + ui::OzonePlatform::InitParams params;
|
| + params.single_process = true;
|
| + ui::OzonePlatform::InitializeForGPU(params);
|
| +#endif
|
| +
|
| if (!gl::init::InitializeGLOneOff())
|
| LOG(FATAL) << "Could not initialize GL";
|
| done->Signal();
|
|
|