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 368107d562d7260b6836a23d4a35dc1399a16e15..2f71b827f668b76a43d667ae0c49812cdc65bb48 100644 |
--- a/content/common/gpu/media/gpu_video_decode_accelerator.cc |
+++ b/content/common/gpu/media/gpu_video_decode_accelerator.cc |
@@ -257,7 +257,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()) { |