| Index: cc/scheduler/scheduler.cc
|
| diff --git a/cc/scheduler/scheduler.cc b/cc/scheduler/scheduler.cc
|
| index 52aa2bb7e66cd589623f3bc6c3ce2189ff019241..41bd1f9ee5310e212f1d65d473a8a98cb402fb52 100644
|
| --- a/cc/scheduler/scheduler.cc
|
| +++ b/cc/scheduler/scheduler.cc
|
| @@ -742,8 +742,7 @@ bool Scheduler::CanBeginMainFrameAndActivateBeforeDeadline(
|
| base::TimeDelta bmf_to_activate_estimate) const {
|
| // Check if the main thread computation and commit can be finished before the
|
| // impl thread's deadline.
|
| - base::TimeTicks estimated_draw_time =
|
| - args.frame_time + bmf_to_activate_estimate;
|
| + base::TimeTicks estimated_draw_time = Now() + bmf_to_activate_estimate;
|
|
|
| return estimated_draw_time < args.deadline;
|
| }
|
|
|