commit | 9da83c32d6bd18c70f208dee4d084a1070c9d7b2 | [log] [tgz] |
---|---|---|
author | Matt Amert <Matthew.Amert@microsoft.com> | Wed Nov 06 06:04:31 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Nov 06 06:04:31 2019 |
tree | 4b61732483eb01bc264daf732b9b0ca67ae817b6 | |
parent | 8ac86664df9acf5dc666206b4e70c20b5eabb0da [diff] |
Added check for out of order event handling in average_lag_tracker. The average_lag_tracker assumes that all events have nondecreasing timestamps. However, the assumption breaks when the main thread takes a long time to handle a scroll update and the compositor thread starts a new scroll in the meantime. This CL removes the invalid DCHECK and instead ignores the out-of-order event. Bug: 1015492 Change-Id: I3dcee2be9c0ba9b6e295d391b4c114f7ef05510b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1869378 Reviewed-by: Daniel Libby <dlibby@microsoft.com> Reviewed-by: Ella Ge <eirage@chromium.org> Reviewed-by: Navid Zolghadr <nzolghadr@chromium.org> Commit-Queue: Daniel Libby <dlibby@microsoft.com> Cr-Commit-Position: refs/heads/master@{#712910}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .