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

Unified Diff: components/memory_pressure/memory_pressure_monitor_unittest.cc

Issue 2823103003: Introduce TaskRunner::RunsTasksInCurrentSequence() (Closed)
Patch Set: rebase 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: components/memory_pressure/memory_pressure_monitor_unittest.cc
diff --git a/components/memory_pressure/memory_pressure_monitor_unittest.cc b/components/memory_pressure/memory_pressure_monitor_unittest.cc
index ac608bf7923f2758f29b67ca5a92b2966ce3f939..b957832bef131233389e71a1ebe27185a7f7d8b9 100644
--- a/components/memory_pressure/memory_pressure_monitor_unittest.cc
+++ b/components/memory_pressure/memory_pressure_monitor_unittest.cc
@@ -46,7 +46,7 @@ class TaskRunnerProxy : public base::TaskRunner {
public:
// The provided |mock| must outlive this object.
explicit TaskRunnerProxy(MockTaskRunner* mock) : mock_(mock) {}
- 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