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 65bfaa2cfee3b8b68b566119906b4463ead7ea8b..fb0a2173e9bfbdc3f32f6117b054aaf616a7b52f 100644 |
--- a/content/common/gpu/media/video_decode_accelerator_unittest.cc |
+++ b/content/common/gpu/media/video_decode_accelerator_unittest.cc |
@@ -35,7 +35,6 @@ |
#include "base/files/file_util.h" |
#include "base/format_macros.h" |
#include "base/md5.h" |
-#include "base/message_loop/message_loop_proxy.h" |
#include "base/process/process_handle.h" |
#include "base/stl_util.h" |
#include "base/strings/string_number_conversions.h" |
@@ -535,10 +534,8 @@ GLRenderingVDAClient::CreateV4L2VDA() { |
decoder.reset(new V4L2VideoDecodeAccelerator( |
static_cast<EGLDisplay>(rendering_helper_->GetGLDisplay()), |
static_cast<EGLContext>(rendering_helper_->GetGLContextHandle()), |
- weak_client, |
- base::Bind(&DoNothingReturnTrue), |
- device, |
- base::MessageLoopProxy::current())); |
+ weak_client, base::Bind(&DoNothingReturnTrue), device, |
+ base::ThreadTaskRunnerHandle::Get())); |
} |
#endif |
return decoder.Pass(); |
@@ -552,12 +549,10 @@ GLRenderingVDAClient::CreateV4L2SliceVDA() { |
if (device.get()) { |
base::WeakPtr<VideoDecodeAccelerator::Client> weak_client = AsWeakPtr(); |
decoder.reset(new V4L2SliceVideoDecodeAccelerator( |
- device, |
- static_cast<EGLDisplay>(rendering_helper_->GetGLDisplay()), |
+ device, static_cast<EGLDisplay>(rendering_helper_->GetGLDisplay()), |
static_cast<EGLContext>(rendering_helper_->GetGLContextHandle()), |
- weak_client, |
- base::Bind(&DoNothingReturnTrue), |
- base::MessageLoopProxy::current())); |
+ weak_client, base::Bind(&DoNothingReturnTrue), |
+ base::ThreadTaskRunnerHandle::Get())); |
} |
#endif |
return decoder.Pass(); |