summaryrefslogtreecommitdiffstats
path: root/content/renderer/media/video_capture_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/renderer/media/video_capture_impl.cc')
-rw-r--r--content/renderer/media/video_capture_impl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/renderer/media/video_capture_impl.cc b/content/renderer/media/video_capture_impl.cc
index faf4565..da02e2f 100644
--- a/content/renderer/media/video_capture_impl.cc
+++ b/content/renderer/media/video_capture_impl.cc
@@ -381,6 +381,6 @@ void VideoCaptureImpl::AddDelegateOnIOThread() {
}
void VideoCaptureImpl::RemoveDelegateOnIOThread(Task* task) {
+ base::ScopedTaskRunner task_runner(task);
message_filter_->RemoveDelegate(this);
- media::AutoTaskRunner auto_runner(task);
}