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

Unified Diff: third_party/WebKit/Source/platform/scheduler/renderer/budget_pool.h

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/renderer/budget_pool.h
diff --git a/third_party/WebKit/Source/platform/scheduler/renderer/budget_pool.h b/third_party/WebKit/Source/platform/scheduler/renderer/budget_pool.h
index de4f8ed77bbc5aca6e0d7cb1aad33da81384ceb6..3c027c5f54f089b1a612c14d488753607052ad9a 100644
--- a/third_party/WebKit/Source/platform/scheduler/renderer/budget_pool.h
+++ b/third_party/WebKit/Source/platform/scheduler/renderer/budget_pool.h
@@ -116,11 +116,11 @@ class BLINK_PLATFORM_EXPORT CPUTimeBudgetPool : public BudgetPool {
// to unblock and run tasks again. When unblocked, it still can run tasks
// when budget is positive but less than this level until being blocked
// until being blocked when budget reaches zero.
- // This is needed for integration with WakeupBudgetPool to prevent a situation
- // when wakeup happened but time budget pool allows only one task to run at
+ // This is needed for integration with WakeUpBudgetPool to prevent a situation
+ // when wake_up happened but time budget pool allows only one task to run at
// the moment.
- // It is recommended to use the same value for this and WakeupBudgetPool's
- // wakeup window length.
+ // It is recommended to use the same value for this and WakeUpBudgetPool's
+ // wake_up window length.
// NOTE: This does not have an immediate effect and does not call
// BudgetPoolController::UnblockQueue.
void SetMinBudgetLevelToRun(base::TimeTicks now,

Powered by Google App Engine
This is Rietveld 408576698