| Index: content/common/gpu/media/gpu_video_decode_accelerator.cc
|
| diff --git a/content/common/gpu/media/gpu_video_decode_accelerator.cc b/content/common/gpu/media/gpu_video_decode_accelerator.cc
|
| index 69f8313c68d296d648b0e507cf34c27779ff3b15..9817cb80522e4adf1fa2a3cbf0c70fe83e7ca8dc 100644
|
| --- a/content/common/gpu/media/gpu_video_decode_accelerator.cc
|
| +++ b/content/common/gpu/media/gpu_video_decode_accelerator.cc
|
| @@ -33,6 +33,8 @@
|
| #include "content/common/gpu/media/vaapi_video_decode_accelerator.h"
|
| #include "ui/gl/gl_context_glx.h"
|
| #include "ui/gl/gl_implementation.h"
|
| +#elif defined(USE_OZONE)
|
| +#include "content/common/gpu/media/ozone_video_decode_accelerator.h"
|
| #elif defined(OS_ANDROID)
|
| #include "content/common/gpu/media/android_video_decode_accelerator.h"
|
| #endif
|
| @@ -275,6 +277,9 @@ void GpuVideoDecodeAccelerator::Initialize(
|
| static_cast<gfx::GLContextGLX*>(stub_->decoder()->GetGLContext());
|
| video_decode_accelerator_.reset(new VaapiVideoDecodeAccelerator(
|
| glx_context->display(), make_context_current_));
|
| +#elif defined(USE_OZONE)
|
| + video_decode_accelerator_.reset(new OzoneVideoDecodeAccelerator(
|
| + make_context_current_));
|
| #elif defined(OS_ANDROID)
|
| video_decode_accelerator_.reset(new AndroidVideoDecodeAccelerator(
|
| stub_->decoder()->AsWeakPtr(),
|
|
|