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

Unified Diff: cc/output/begin_frame_args.h

Issue 16871016: cc: Use BeginFrameArgs (Closed) Base URL: http://git.chromium.org/chromium/src.git@bfargs2
Patch Set: Tweaks; Address more comments; Created 7 years, 6 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/output/begin_frame_args.cc » ('j') | cc/scheduler/scheduler.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/begin_frame_args.h
diff --git a/cc/output/begin_frame_args.h b/cc/output/begin_frame_args.h
index 33304cb1b12e08f2c7ca505d04f263f7ea105254..d963edf2df557c1d8ea1d5dc4c0316a54454b9e3 100644
--- a/cc/output/begin_frame_args.h
+++ b/cc/output/begin_frame_args.h
@@ -37,6 +37,10 @@ struct CC_EXPORT BeginFrameArgs {
// retroactively.
static base::TimeDelta DefaultRetroactiveBeginFramePeriod();
+ // For platforms that haven't yet moved to deadline scheduling, this will set
+ // the deadline to 0.
+ void AdjustDeadline(base::TimeDelta delta);
+
bool IsValid() const {
return interval >= base::TimeDelta();
}
« no previous file with comments | « no previous file | cc/output/begin_frame_args.cc » ('j') | cc/scheduler/scheduler.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698