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

Unified Diff: components/scheduler/child/null_idle_task_runner.cc

Issue 1151353003: [scheduler]: Avoid waking up the scheduler to end long idle periods. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@end_idle_sync_2
Patch Set: Fix Win for realz hopefully... Created 5 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: components/scheduler/child/null_idle_task_runner.cc
diff --git a/components/scheduler/child/null_idle_task_runner.cc b/components/scheduler/child/null_idle_task_runner.cc
index 9d11e7c565f35095d7805ab1c26f184b36343e4d..934b3492c9ce5bd65aeeccd082c518883f5d2217 100644
--- a/components/scheduler/child/null_idle_task_runner.cc
+++ b/components/scheduler/child/null_idle_task_runner.cc
@@ -7,10 +7,7 @@
namespace scheduler {
NullIdleTaskRunner::NullIdleTaskRunner()
- : SingleThreadIdleTaskRunner(nullptr,
- nullptr,
- base::Callback<void(base::TimeTicks*)>(),
- "null.taskrunner") {
+ : SingleThreadIdleTaskRunner(nullptr, nullptr, nullptr, "null.taskrunner") {
}
NullIdleTaskRunner::~NullIdleTaskRunner() {
« no previous file with comments | « components/scheduler/child/nestable_task_runner_for_test.cc ('k') | components/scheduler/child/pollable_thread_safe_flag.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698