summaryrefslogtreecommitdiffstats
path: root/content/common/gpu/media/gpu_video_decode_accelerator.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/common/gpu/media/gpu_video_decode_accelerator.cc')
-rw-r--r--content/common/gpu/media/gpu_video_decode_accelerator.cc6
1 files changed, 1 insertions, 5 deletions
diff --git a/content/common/gpu/media/gpu_video_decode_accelerator.cc b/content/common/gpu/media/gpu_video_decode_accelerator.cc
index b932258..3a86c48 100644
--- a/content/common/gpu/media/gpu_video_decode_accelerator.cc
+++ b/content/common/gpu/media/gpu_video_decode_accelerator.cc
@@ -273,7 +273,6 @@ void GpuVideoDecodeAccelerator::Initialize(
#elif defined(OS_CHROMEOS) && defined(ARCH_CPU_ARMEL) && defined(USE_X11)
video_decode_accelerator_.reset(new ExynosVideoDecodeAccelerator(
gfx::GLSurfaceEGL::GetHardwareDisplay(),
- stub_->decoder()->GetGLContext()->GetHandle(),
this,
weak_factory_for_io_.GetWeakPtr(),
make_context_current_,
@@ -281,11 +280,8 @@ void GpuVideoDecodeAccelerator::Initialize(
#elif defined(OS_CHROMEOS) && defined(ARCH_CPU_X86_FAMILY) && defined(USE_X11)
gfx::GLContextGLX* glx_context =
static_cast<gfx::GLContextGLX*>(stub_->decoder()->GetGLContext());
- GLXContext glx_context_handle =
- static_cast<GLXContext>(glx_context->GetHandle());
video_decode_accelerator_.reset(new VaapiVideoDecodeAccelerator(
- glx_context->display(), glx_context_handle, this,
- make_context_current_));
+ glx_context->display(), this, make_context_current_));
#elif defined(OS_ANDROID)
video_decode_accelerator_.reset(new AndroidVideoDecodeAccelerator(
this,