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