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

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

Issue 2798563003: [scheduler] Add TaskQueue::Observer (Closed)
Patch Set: add todo for test timings & wake_up -> wake-up in comments 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/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 3beb123eb6795e35f6f78c33a6e2bc2fd8fea4c0..a5051321f5ab4d544fc52bc4a3b9b9889f7ae4d1 100644
--- a/third_party/WebKit/Source/platform/scheduler/child/idle_helper.cc
+++ b/third_party/WebKit/Source/platform/scheduler/child/idle_helper.cc
@@ -110,7 +110,7 @@ IdleHelper::IdlePeriodState IdleHelper::ComputeNewLongIdlePeriodState(
return IdlePeriodState::IN_LONG_IDLE_PERIOD;
}
} else {
- // If we can't start the idle period yet then try again after wakeup.
+ // If we can't start the idle period yet then try again after wake-up.
*next_long_idle_period_delay_out = base::TimeDelta::FromMilliseconds(
kRetryEnableLongIdlePeriodDelayMillis);
return IdlePeriodState::NOT_IN_IDLE_PERIOD;

Powered by Google App Engine
This is Rietveld 408576698