Index: remoting/host/video_scheduler.cc |
diff --git a/remoting/host/video_scheduler.cc b/remoting/host/video_scheduler.cc |
index c2a797e111f80f0070d61d44e0a66419ced4f3ad..e937bd4812ddb63b366830c67edf6ab3eb920913 100644 |
--- a/remoting/host/video_scheduler.cc |
+++ b/remoting/host/video_scheduler.cc |
@@ -180,7 +180,7 @@ void VideoScheduler::StopOnCaptureThread(const base::Closure& done_task) { |
// otherwise tearing down |capturer_| will crash it. See crbug.com/163641. |
// TODO(wez): Make it safe to tear down capturer while buffers remain, and |
// remove this work-around. |
- capture_task_runner_->PostTask(FROM_HERE, |
+ encode_task_runner_->PostTask(FROM_HERE, |
base::Bind(&VideoScheduler::StopOnEncodeThread, this, done_task)); |
} |