| 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 16e3e74ad5df25d6b330a0b4c089cc11c89d86b2..4f8b3908d1b71be8e31abf1dcfffd988ec231ce4 100644
|
| --- a/content/common/gpu/media/video_decode_accelerator_unittest.cc
|
| +++ b/content/common/gpu/media/video_decode_accelerator_unittest.cc
|
| @@ -14,6 +14,7 @@
|
| // - Finally actual TEST cases are at the bottom of this file, using the above
|
| // infrastructure.
|
|
|
| +#include <dlfcn.h>
|
| #include <fcntl.h>
|
| #include <sys/stat.h>
|
| #include <sys/types.h>
|
| @@ -551,7 +552,8 @@ void GLRenderingVDAClient::CreateAndStartDecoder() {
|
| #elif defined(OS_CHROMEOS)
|
| #if 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;
|
|
|