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

Unified Diff: third_party/WebKit/Source/platform/scheduler/child/web_task_runner_impl.cc

Issue 2823103003: Introduce TaskRunner::RunsTasksInCurrentSequence() (Closed)
Patch Set: rebase & remove inline keyword Created 3 years, 7 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.cc
diff --git a/third_party/WebKit/Source/platform/scheduler/child/web_task_runner_impl.cc b/third_party/WebKit/Source/platform/scheduler/child/web_task_runner_impl.cc
index 43b1f0dafa83932ca740f91e888f77f99b83193a..cf084fe18ef603226eee86b73d271522fab338c3 100644
--- a/third_party/WebKit/Source/platform/scheduler/child/web_task_runner_impl.cc
+++ b/third_party/WebKit/Source/platform/scheduler/child/web_task_runner_impl.cc
@@ -30,8 +30,8 @@ void WebTaskRunnerImpl::PostDelayedTask(const WebTraceLocation& location,
base::TimeDelta::FromMillisecondsD(delay_ms));
}
-bool WebTaskRunnerImpl::RunsTasksOnCurrentThread() {
- return task_queue_->RunsTasksOnCurrentThread();
+bool WebTaskRunnerImpl::RunsTasksInCurrentSequence() {
+ return task_queue_->RunsTasksInCurrentSequence();
}
double WebTaskRunnerImpl::VirtualTimeSeconds() const {

Powered by Google App Engine
This is Rietveld 408576698