Index: media/filters/gpu_video_decoder.cc |
diff --git a/media/filters/gpu_video_decoder.cc b/media/filters/gpu_video_decoder.cc |
index b05698a7fa9ca5911a9ee5e162474c2660231266..b2e5670336de3485d57b61fb7cb5b1739801c3d3 100644 |
--- a/media/filters/gpu_video_decoder.cc |
+++ b/media/filters/gpu_video_decoder.cc |
@@ -51,11 +51,10 @@ GpuVideoDecoder::BufferData::BufferData( |
GpuVideoDecoder::BufferData::~BufferData() {} |
GpuVideoDecoder::GpuVideoDecoder( |
- const scoped_refptr<base::MessageLoopProxy>& gvd_loop_proxy, |
- const scoped_refptr<base::MessageLoopProxy>& vda_loop_proxy, |
+ const scoped_refptr<base::MessageLoopProxy>& message_loop, |
const scoped_refptr<Factories>& factories) |
- : gvd_loop_proxy_(gvd_loop_proxy), |
- vda_loop_proxy_(vda_loop_proxy), |
+ : gvd_loop_proxy_(message_loop), |
+ vda_loop_proxy_(factories->GetMessageLoop()), |
factories_(factories), |
state_(kNormal), |
demuxer_read_in_progress_(false), |