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

Unified Diff: third_party/WebKit/Source/platform/scheduler/test/fake_web_task_runner.h

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: third_party/WebKit/Source/platform/scheduler/test/fake_web_task_runner.h
diff --git a/third_party/WebKit/Source/platform/scheduler/test/fake_web_task_runner.h b/third_party/WebKit/Source/platform/scheduler/test/fake_web_task_runner.h
index 514d731a6d64b7d698948782149cf30363ab4de0..888657f7ba0b580e51c81946617380f014cd156a 100644
--- a/third_party/WebKit/Source/platform/scheduler/test/fake_web_task_runner.h
+++ b/third_party/WebKit/Source/platform/scheduler/test/fake_web_task_runner.h
@@ -28,7 +28,7 @@ class FakeWebTaskRunner : public WebTaskRunner {
void PostDelayedTask(const WebTraceLocation&,
base::OnceClosure,
double) override;
- bool RunsTasksOnCurrentThread() override;
+ bool RunsTasksInCurrentSequence() override;
double VirtualTimeSeconds() const override;
double MonotonicallyIncreasingVirtualTimeSeconds() const override;
SingleThreadTaskRunner* ToSingleThreadTaskRunner() override;

Powered by Google App Engine
This is Rietveld 408576698