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

Unified Diff: base/deferred_sequenced_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: base/deferred_sequenced_task_runner.cc
diff --git a/base/deferred_sequenced_task_runner.cc b/base/deferred_sequenced_task_runner.cc
index 15367f06b660ad5d7fe70324b4047525fdfc0ac6..72a70436419c0a106604785e77c33b89bb9516bb 100644
--- a/base/deferred_sequenced_task_runner.cc
+++ b/base/deferred_sequenced_task_runner.cc
@@ -48,8 +48,8 @@ bool DeferredSequencedTaskRunner::PostDelayedTask(
return true;
}
-bool DeferredSequencedTaskRunner::RunsTasksOnCurrentThread() const {
- return target_task_runner_->RunsTasksOnCurrentThread();
+bool DeferredSequencedTaskRunner::RunsTasksInCurrentSequence() const {
+ return target_task_runner_->RunsTasksInCurrentSequence();
}
bool DeferredSequencedTaskRunner::PostNonNestableDelayedTask(

Powered by Google App Engine
This is Rietveld 408576698