| 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..8d65db0f5ce9a42ce7f3afd4387169cfa4373390 100644
|
| --- a/cc/output/begin_frame_args.h
|
| +++ b/cc/output/begin_frame_args.h
|
| @@ -37,9 +37,11 @@ struct CC_EXPORT BeginFrameArgs {
|
| // retroactively.
|
| static base::TimeDelta DefaultRetroactiveBeginFramePeriod();
|
|
|
| - bool IsValid() const {
|
| - return interval >= base::TimeDelta();
|
| - }
|
| + // 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(); }
|
|
|
| base::TimeTicks frame_time;
|
| base::TimeTicks deadline;
|
|
|