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

Unified Diff: third_party/WebKit/Source/platform/scheduler/test/fake_web_task_runner.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: third_party/WebKit/Source/platform/scheduler/test/fake_web_task_runner.cc
diff --git a/third_party/WebKit/Source/platform/scheduler/test/fake_web_task_runner.cc b/third_party/WebKit/Source/platform/scheduler/test/fake_web_task_runner.cc
index a45aab919eb293060ae7e913bb0ebbcc26418751..d4509f8c7f82d3d6712b6770b00bca8564f2cbb7 100644
--- a/third_party/WebKit/Source/platform/scheduler/test/fake_web_task_runner.cc
+++ b/third_party/WebKit/Source/platform/scheduler/test/fake_web_task_runner.cc
@@ -61,7 +61,7 @@ class FakeWebTaskRunner::BaseTaskRunner : public base::SingleThreadTaskRunner {
return true;
}
- bool RunsTasksOnCurrentThread() const { return true; }
+ bool RunsTasksInCurrentSequence() const { return true; }
private:
RefPtr<Data> data_;
@@ -89,7 +89,7 @@ void FakeWebTaskRunner::PostDelayedTask(const WebTraceLocation&,
base::TimeDelta::FromMillisecondsD(delay_ms));
}
-bool FakeWebTaskRunner::RunsTasksOnCurrentThread() {
+bool FakeWebTaskRunner::RunsTasksInCurrentSequence() {
return true;
}

Powered by Google App Engine
This is Rietveld 408576698