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

Unified Diff: cc/scheduler/scheduler.cc

Issue 164373012: Remove options to disable deadline scheduling (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: rebase Created 6 years, 10 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
« no previous file with comments | « no previous file | cc/scheduler/scheduler_settings.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/scheduler/scheduler.cc
diff --git a/cc/scheduler/scheduler.cc b/cc/scheduler/scheduler.cc
index af342998f42d2045c06498307853e535213bb774..84852fa9adbf3316e78b43a578987324937b6d02 100644
--- a/cc/scheduler/scheduler.cc
+++ b/cc/scheduler/scheduler.cc
@@ -236,10 +236,6 @@ void Scheduler::BeginImplFrame(const BeginFrameArgs& args) {
// so the sychronous renderer compositor can take advantage of splitting
// up the BeginImplFrame and deadline as well.
OnBeginImplFrameDeadline();
- } else if (!settings_.deadline_scheduling_enabled) {
- // We emulate the old non-deadline scheduler here by posting the
- // deadline task without any delay.
- PostBeginImplFrameDeadline(base::TimeTicks());
} else if (state_machine_.ShouldTriggerBeginImplFrameDeadlineEarly()) {
// We are ready to draw a new active tree immediately.
PostBeginImplFrameDeadline(base::TimeTicks());
« no previous file with comments | « no previous file | cc/scheduler/scheduler_settings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698