Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DelayBasedBeginFrameSourceMac: Handle VSync parameter skew
The VSync parameters on macOS change over time. In compensation for this, we re-compute them every 10 seconds (see the initial implementation in crrev.com/343739). This function to trigger to update update code wasn't copied when creating DelayBasedBeginFrameSourceMac, re-introducing the the VSync skew bug. Re-add the function (note that all of the supporting variables, like DelayBasedBeginFrameSourceMac::time_source_next_update_time_ were correctly copied). Bug: 1450617 Change-Id: Id383b64e9c9d87c1c105aa260a1f3434ced85b80 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4705225 Reviewed-by: Vasiliy Telezhnikov <vasilyt@chromium.org> Commit-Queue: Prudhvikumar Bommana <pbommana@google.com> Cr-Commit-Position: refs/branch-heads/5790@{#1790} Cr-Branched-From: 1d71a33-refs/heads/main@{#1148114}
- Loading branch information