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

Unified Diff: cc/scheduler/scheduler.cc

Issue 22354007: cc: Add queue of BeginFrames to support long deadlines. (Closed) Base URL: http://git.chromium.org/chromium/src.git@deferredCommit
Patch Set: Created 7 years, 4 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: cc/scheduler/scheduler.cc
diff --git a/cc/scheduler/scheduler.cc b/cc/scheduler/scheduler.cc
index 21fff3a8bd972f8549002f7145d970a0c160c21e..4e78dbee15ef7e62e1ea84df6431c9d3161a12f4 100644
--- a/cc/scheduler/scheduler.cc
+++ b/cc/scheduler/scheduler.cc
@@ -195,8 +195,8 @@ void Scheduler::BeginFrame(const BeginFrameArgs& args) {
// The impl thread doesn't have anything it wants to draw and we are just
// waiting for a new active tree, so post the deadline for the next
// expected BeginFrame start.
- PostBeginFrameDeadline(last_begin_frame_args_.frame_time +
- last_begin_frame_args_.interval);
+ //PostBeginFrameDeadline(last_begin_frame_args_.frame_time + last_begin_frame_args_.interval);
+ PostBeginFrameDeadline(last_begin_frame_args_.deadline);
}
}

Powered by Google App Engine
This is Rietveld 408576698