Use lossless TimeDelta in DocumentTimeline::CurrentTimeInternal.
Early conversion to double resulted in DocumentTimeline returning a different value than the requestAnimationFrame timestamp. By preserving the full precision time delta we can use the exact same conversion as the requestAnimationFrame timestamp. Bug: 986974 Change-Id: I508330a168bf6523b1ec3912efb24159b876f6e0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1719853 Commit-Queue: Robert Flack <flackr@chromium.org> Reviewed-by:Kevin Ellis <kevers@chromium.org> Cr-Commit-Position: refs/heads/master@{#681296}
Showing
This diff is collapsed.
Please register or sign in to comment