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

Unified Diff: media/cast/test/skewed_single_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: media/cast/test/skewed_single_thread_task_runner.cc
diff --git a/media/cast/test/skewed_single_thread_task_runner.cc b/media/cast/test/skewed_single_thread_task_runner.cc
index 28361438096b61bdd3818420e4f88ab0bc41bd6e..20b830af7c415a71f0b4c9747fd2392052c435c8 100644
--- a/media/cast/test/skewed_single_thread_task_runner.cc
+++ b/media/cast/test/skewed_single_thread_task_runner.cc
@@ -35,8 +35,8 @@ bool SkewedSingleThreadTaskRunner::PostDelayedTask(
base::TimeDelta::FromMicroseconds(delay.InMicroseconds() * skew_));
}
-bool SkewedSingleThreadTaskRunner::RunsTasksOnCurrentThread() const {
- return task_runner_->RunsTasksOnCurrentThread();
+bool SkewedSingleThreadTaskRunner::RunsTasksInCurrentSequence() const {
+ return task_runner_->RunsTasksInCurrentSequence();
}
bool SkewedSingleThreadTaskRunner::PostNonNestableDelayedTask(

Powered by Google App Engine
This is Rietveld 408576698