Index: media/gpu/v4l2_slice_video_decode_accelerator.cc |
diff --git a/media/gpu/v4l2_slice_video_decode_accelerator.cc b/media/gpu/v4l2_slice_video_decode_accelerator.cc |
index 31602e8d3ba0733633f901bf4707b8ff82c37bf8..4f3e7e073901396973cb76f6e23cb50520de45ce 100644 |
--- a/media/gpu/v4l2_slice_video_decode_accelerator.cc |
+++ b/media/gpu/v4l2_slice_video_decode_accelerator.cc |
@@ -863,7 +863,7 @@ void V4L2SliceVideoDecodeAccelerator::SchedulePollIfNeeded() { |
DVLOGF(4) << "Scheduling device poll task"; |
- device_poll_thread_.message_loop()->PostTask( |
+ device_poll_thread_.task_runner()->PostTask( |
FROM_HERE, base::Bind(&V4L2SliceVideoDecodeAccelerator::DevicePollTask, |
base::Unretained(this), true)); |
@@ -1169,7 +1169,7 @@ bool V4L2SliceVideoDecodeAccelerator::StartDevicePoll() { |
output_streamon_ = true; |
} |
- device_poll_thread_.message_loop()->PostTask( |
+ device_poll_thread_.task_runner()->PostTask( |
FROM_HERE, base::Bind(&V4L2SliceVideoDecodeAccelerator::DevicePollTask, |
base::Unretained(this), true)); |