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

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

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.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 81df9e7148c4eaa0b794bc9347b2967e78f9f7c1..25ae6fe30e074e5cb7a229dfdef9988eedf0d037 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