Index: content/common/gpu/media/video_decode_accelerator_unittest.cc |
diff --git a/content/common/gpu/media/video_decode_accelerator_unittest.cc b/content/common/gpu/media/video_decode_accelerator_unittest.cc |
index 7c4874996df2d9688b6f6543d54a4b582e95240f..9ee63ef5b5d8083c430d2fb5075de31dd2f6deb7 100644 |
--- a/content/common/gpu/media/video_decode_accelerator_unittest.cc |
+++ b/content/common/gpu/media/video_decode_accelerator_unittest.cc |
@@ -556,7 +556,8 @@ void GLRenderingVDAClient::CreateAndStartDecoder() { |
new DXVAVideoDecodeAccelerator(base::Bind(&DoNothingReturnTrue))); |
#elif defined(OS_CHROMEOS) && defined(ARCH_CPU_ARMEL) |
- scoped_ptr<V4L2Device> device = V4L2Device::Create(); |
+ scoped_ptr<V4L2Device> device = V4L2Device::Create( |
+ static_cast<EGLContext>(rendering_helper_->GetGLContext())); |
if (!device.get()) { |
NotifyError(media::VideoDecodeAccelerator::PLATFORM_FAILURE); |
return; |