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

Unified Diff: components/scheduler/child/child_scheduler.h

Issue 1589463002: compositor worker: Use a WebThread for the compositor thread. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix-mandoline-tests Created 4 years, 11 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: components/scheduler/child/child_scheduler.h
diff --git a/components/scheduler/child/child_scheduler.h b/components/scheduler/child/child_scheduler.h
index 5b582c8002b5e23213bdea73373aa2950c4a5eb1..87bcf56893bc8dbb50bb6895e1ebd597051f5d7f 100644
--- a/components/scheduler/child/child_scheduler.h
+++ b/components/scheduler/child/child_scheduler.h
@@ -22,8 +22,7 @@ class SCHEDULER_EXPORT ChildScheduler {
virtual ~ChildScheduler() {}
// Returns the default task runner.
- // TODO(alexclarke): Change this to return a SingleThreadIdleTaskRunner.
- virtual scoped_refptr<TaskQueue> DefaultTaskRunner() = 0;
+ virtual scoped_refptr<base::SingleThreadTaskRunner> DefaultTaskRunner() = 0;
Sami 2016/01/14 13:55:04 Probably want to rebase this in top of your other
sadrul 2016/01/14 15:20:40 Yep, done.
// Returns the idle task runner. Tasks posted to this runner may be reordered
// relative to other task types and may be starved for an arbitrarily long

Powered by Google App Engine
This is Rietveld 408576698