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 a830c2ece618c11e30b2921074d6186a8c401786..d3b24361b81d668ef6891a25dc3d888bc3bfa1f2 100644 |
--- a/content/common/gpu/media/gpu_video_decode_accelerator.cc |
+++ b/content/common/gpu/media/gpu_video_decode_accelerator.cc |
@@ -259,7 +259,8 @@ void GpuVideoDecodeAccelerator::Initialize( |
#elif defined(OS_MACOSX) |
video_decode_accelerator_.reset(new VTVideoDecodeAccelerator( |
static_cast<CGLContextObj>( |
- stub_->decoder()->GetGLContext()->GetHandle()))); |
+ stub_->decoder()->GetGLContext()->GetHandle()), |
+ make_context_current_)); |
#elif defined(OS_CHROMEOS) && defined(ARCH_CPU_ARMEL) && defined(USE_X11) |
scoped_ptr<V4L2Device> device = V4L2Device::Create(V4L2Device::kDecoder); |
if (!device.get()) { |