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 99a782f54c48f52572501ed188d78fba34a0b788..9f78d2301aa56f621228e4dabcf53bb9015bfa8f 100644 |
--- a/content/common/gpu/media/gpu_video_decode_accelerator.cc |
+++ b/content/common/gpu/media/gpu_video_decode_accelerator.cc |
@@ -358,9 +358,7 @@ scoped_ptr<media::VideoDecodeAccelerator> |
GpuVideoDecodeAccelerator::CreateVTVDA() { |
scoped_ptr<media::VideoDecodeAccelerator> decoder; |
#if defined(OS_MACOSX) |
- decoder.reset(new VTVideoDecodeAccelerator( |
- static_cast<CGLContextObj>(stub_->decoder()->GetGLContext()->GetHandle()), |
- make_context_current_)); |
+ decoder.reset(new VTVideoDecodeAccelerator(make_context_current_)); |
#endif |
return decoder.Pass(); |
} |