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

Unified Diff: chrome/browser/memory/tab_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: chrome/browser/memory/tab_manager_unittest.cc
diff --git a/chrome/browser/memory/tab_manager_unittest.cc b/chrome/browser/memory/tab_manager_unittest.cc
index c62a285b53a5cd051ea15ee4e559b6a1060320a8..a3621c1664b72299ee49daa1673b18d42ca76f31 100644
--- a/chrome/browser/memory/tab_manager_unittest.cc
+++ b/chrome/browser/memory/tab_manager_unittest.cc
@@ -118,7 +118,7 @@ class TaskRunnerProxy : public base::TaskRunner {
TaskRunnerProxy(MockTaskRunner* mock,
base::SimpleTestTickClock* clock)
: mock_(mock), clock_(clock) {}
- bool RunsTasksOnCurrentThread() const override { return true; }
+ bool RunsTasksInCurrentSequence() const override { return true; }
bool PostDelayedTask(const tracked_objects::Location& location,
base::OnceClosure closure,
base::TimeDelta delta) override {

Powered by Google App Engine
This is Rietveld 408576698