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

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

Issue 2437003002: [scheduler] Add type to scheduler::TaskQueue (Closed)
Patch Set: fix windows compilation Created 4 years, 2 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/scheduler_helper.cc
diff --git a/third_party/WebKit/Source/platform/scheduler/child/scheduler_helper.cc b/third_party/WebKit/Source/platform/scheduler/child/scheduler_helper.cc
index 96ede9d193edae257ca95e095583e715971efc68..5870d2f1d5665caad550a121740f8004aacf04a6 100644
--- a/third_party/WebKit/Source/platform/scheduler/child/scheduler_helper.cc
+++ b/third_party/WebKit/Source/platform/scheduler/child/scheduler_helper.cc
@@ -24,10 +24,12 @@ SchedulerHelper::SchedulerHelper(
tracing_category,
disabled_by_default_tracing_category,
disabled_by_default_verbose_tracing_category)),
- control_task_runner_(NewTaskQueue(
- TaskQueue::Spec("control_tq").SetShouldNotifyObservers(false))),
- default_task_runner_(NewTaskQueue(
- TaskQueue::Spec("default_tq").SetShouldMonitorQuiescence(true))),
+ control_task_runner_(
+ NewTaskQueue(TaskQueue::Spec(TaskQueue::QueueType::CONTROL)
+ .SetShouldNotifyObservers(false))),
+ default_task_runner_(
+ NewTaskQueue(TaskQueue::Spec(TaskQueue::QueueType::DEFAULT)
+ .SetShouldMonitorQuiescence(true))),
observer_(nullptr),
tracing_category_(tracing_category),
disabled_by_default_tracing_category_(

Powered by Google App Engine
This is Rietveld 408576698