| 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 416194606be6b84d06771ce5a1e9740b775242a3..a92b376688e726cefa901605696fe49942fffb9e 100644
|
| --- a/content/common/gpu/media/video_decode_accelerator_unittest.cc
|
| +++ b/content/common/gpu/media/video_decode_accelerator_unittest.cc
|
| @@ -310,7 +310,7 @@ GLRenderingVDAClient::~GLRenderingVDAClient() {
|
| SetState(CS_DESTROYED);
|
| }
|
|
|
| -#if !defined(OS_WIN) && !defined(OS_MACOSX) && defined(ARCH_CPU_X86_FAMILY)
|
| +#if !defined(OS_WIN) && !defined(OS_MACOSX)
|
| static bool DoNothingReturnTrue() { return true; }
|
| #endif
|
|
|
| @@ -327,7 +327,8 @@ void GLRenderingVDAClient::CreateDecoder() {
|
| new OmxVideoDecodeAccelerator(
|
| static_cast<EGLDisplay>(rendering_helper_->GetGLDisplay()),
|
| static_cast<EGLContext>(rendering_helper_->GetGLContext()),
|
| - this));
|
| + this,
|
| + base::Bind(&DoNothingReturnTrue)));
|
| #elif defined(ARCH_CPU_X86_FAMILY)
|
| decoder_.reset(new VaapiVideoDecodeAccelerator(
|
| static_cast<Display*>(rendering_helper_->GetGLDisplay()),
|
|
|