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

Unified Diff: media/cast/cast_environment.cc

Issue 2888303002: Rename TaskRunner::RunsTasksOnCurrentThread() in //media, //ui, //ipc (Closed)
Patch Set: 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 | « ipc/ipc_channel_mojo.cc ('k') | media/cast/net/udp_transport.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/cast_environment.cc
diff --git a/media/cast/cast_environment.cc b/media/cast/cast_environment.cc
index 5a3255dda09cfbc56070b2bda3c94b8c23769db3..2026b2e4633fff544ac6e0d377c39fe710667134 100644
--- a/media/cast/cast_environment.cc
+++ b/media/cast/cast_environment.cc
@@ -61,13 +61,13 @@ bool CastEnvironment::CurrentlyOn(ThreadId identifier) {
switch (identifier) {
case CastEnvironment::MAIN:
return main_thread_proxy_.get() &&
- main_thread_proxy_->RunsTasksOnCurrentThread();
+ main_thread_proxy_->RunsTasksInCurrentSequence();
case CastEnvironment::AUDIO:
return audio_thread_proxy_.get() &&
- audio_thread_proxy_->RunsTasksOnCurrentThread();
+ audio_thread_proxy_->RunsTasksInCurrentSequence();
case CastEnvironment::VIDEO:
return video_thread_proxy_.get() &&
- video_thread_proxy_->RunsTasksOnCurrentThread();
+ video_thread_proxy_->RunsTasksInCurrentSequence();
default:
NOTREACHED() << "Invalid thread identifier";
return false;
« no previous file with comments | « ipc/ipc_channel_mojo.cc ('k') | media/cast/net/udp_transport.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698