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(); |
} |