Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9659)

Unified Diff: chrome/renderer/media/cast_rtp_stream.cc

Issue 2871303004: Rename TaskRunner::RunsTasksOnCurrentThread() in //chrome (Closed)
Patch Set: fixed build error Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/win/settings_app_monitor.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/media/cast_rtp_stream.cc
diff --git a/chrome/renderer/media/cast_rtp_stream.cc b/chrome/renderer/media/cast_rtp_stream.cc
index 6e33f9e73f33fcbab4c463a2e95c40765ce42e73..d547654e84c0eef1e02bf411b5a1917f949e8830 100644
--- a/chrome/renderer/media/cast_rtp_stream.cc
+++ b/chrome/renderer/media/cast_rtp_stream.cc
@@ -208,7 +208,7 @@ class CastVideoSink : public base::SupportsWeakPtr<CastVideoSink>,
void WillConnectToTrack(
base::WeakPtr<CastVideoSink> sink,
scoped_refptr<media::cast::VideoFrameInput> frame_input) {
- DCHECK(main_task_runner_->RunsTasksOnCurrentThread());
+ DCHECK(main_task_runner_->RunsTasksInCurrentSequence());
sink_ = sink;
frame_input_ = std::move(frame_input);
}
« no previous file with comments | « chrome/browser/win/settings_app_monitor.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698