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

Unified Diff: remoting/base/auto_thread_task_runner.cc

Issue 2823103003: Introduce TaskRunner::RunsTasksInCurrentSequence() (Closed)
Patch Set: fixed build error and commments Created 3 years, 8 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
Index: remoting/base/auto_thread_task_runner.cc
diff --git a/remoting/base/auto_thread_task_runner.cc b/remoting/base/auto_thread_task_runner.cc
index 552b985a4f42bb495d4d77308480403cd6ef7ff9..59e549d23f547a07819feafc1128aed72146e298 100644
--- a/remoting/base/auto_thread_task_runner.cc
+++ b/remoting/base/auto_thread_task_runner.cc
@@ -34,8 +34,8 @@ bool AutoThreadTaskRunner::PostNonNestableDelayedTask(
return true;
}
-bool AutoThreadTaskRunner::RunsTasksOnCurrentThread() const {
- return task_runner_->RunsTasksOnCurrentThread();
+bool AutoThreadTaskRunner::RunsTasksInCurrentSequence() const {
+ return task_runner_->RunsTasksInCurrentSequence();
}
AutoThreadTaskRunner::~AutoThreadTaskRunner() {

Powered by Google App Engine
This is Rietveld 408576698