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

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: Add missing OVERRIDE 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/output/begin_frame_args.h
diff --git a/cc/output/begin_frame_args.h b/cc/output/begin_frame_args.h
index 22693dbef947dc814479b1cba52d58af149e2cbc..61d21952704ba116526f47f964e5b8223d3281c9 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();
}

Powered by Google App Engine
This is Rietveld 408576698