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

Unified Diff: third_party/WebKit/Source/platform/scheduler/child/idle_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/idle_helper.cc
diff --git a/third_party/WebKit/Source/platform/scheduler/child/idle_helper.cc b/third_party/WebKit/Source/platform/scheduler/child/idle_helper.cc
index 8f934aaf9b77fba8020dc99a713e77d1b1cdebae..3daea10ee1023dbc7a3bace837268058ab185e54 100644
--- a/third_party/WebKit/Source/platform/scheduler/child/idle_helper.cc
+++ b/third_party/WebKit/Source/platform/scheduler/child/idle_helper.cc
@@ -25,7 +25,8 @@ IdleHelper::IdleHelper(
base::TimeDelta required_quiescence_duration_before_long_idle_period)
: helper_(helper),
delegate_(delegate),
- idle_queue_(helper_->NewTaskQueue(TaskQueue::Spec("idle_tq"))),
+ idle_queue_(
+ helper_->NewTaskQueue(TaskQueue::Spec(TaskQueue::QueueType::IDLE))),
state_(helper,
delegate,
tracing_category,

Powered by Google App Engine
This is Rietveld 408576698