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

Unified Diff: third_party/WebKit/Source/platform/scheduler/child/web_task_runner_impl.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/child/web_task_runner_impl.h
diff --git a/third_party/WebKit/Source/platform/scheduler/child/web_task_runner_impl.h b/third_party/WebKit/Source/platform/scheduler/child/web_task_runner_impl.h
index ab4b71f850fb8654f945bc36818e146ccc15e099..0e843b2203e5f347ac4da562a61ae3df5464d9f2 100644
--- a/third_party/WebKit/Source/platform/scheduler/child/web_task_runner_impl.h
+++ b/third_party/WebKit/Source/platform/scheduler/child/web_task_runner_impl.h
@@ -26,7 +26,7 @@ class BLINK_PLATFORM_EXPORT WebTaskRunnerImpl : public WebTaskRunner {
void PostDelayedTask(const WebTraceLocation&,
base::OnceClosure,
double delay_ms) override;
- bool RunsTasksOnCurrentThread() override;
+ bool RunsTasksInCurrentSequence() override;
double VirtualTimeSeconds() const override;
double MonotonicallyIncreasingVirtualTimeSeconds() const override;
base::SingleThreadTaskRunner* ToSingleThreadTaskRunner() override;

Powered by Google App Engine
This is Rietveld 408576698