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

Unified Diff: base/trace_event/memory_dump_manager_unittest.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/trace_event/memory_dump_manager_unittest.cc
diff --git a/base/trace_event/memory_dump_manager_unittest.cc b/base/trace_event/memory_dump_manager_unittest.cc
index cb7af6215d7eb6d75079f7579118c85a2cef800f..f4cf5ac53d1c8498047e1d1a2fccfd925c460fb6 100644
--- a/base/trace_event/memory_dump_manager_unittest.cc
+++ b/base/trace_event/memory_dump_manager_unittest.cc
@@ -199,8 +199,8 @@ class TestSequencedTaskRunner : public SequencedTaskRunner {
return false;
}
- bool RunsTasksOnCurrentThread() const override {
- return worker_pool_.pool()->RunsTasksOnCurrentThread();
+ bool RunsTasksInCurrentSequence() const override {
+ return worker_pool_.pool()->RunsTasksInCurrentSequence();
}
private:

Powered by Google App Engine
This is Rietveld 408576698