Index: content/renderer/media/video_capture_impl.cc |
diff --git a/content/renderer/media/video_capture_impl.cc b/content/renderer/media/video_capture_impl.cc |
index faf4565bfcb605ff38604bf36d245d6bd691b900..da02e2fe54caff8b1adf6242cf1bdef20c943f88 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); |
} |