[FlexNG] Clear (all) layout results when scrollbars change.
Simplified layout DCHECKs save the day again! We need to clear all cached layout results when scrollbars change. As we now have the "measure" cache slot it was possible to keep around a layout result with the incorrect scrollbar state. The bug caught on the trybots manifested as layout result having "simplified" layout performed, but failing as the inline-size of the fragment changed during simplified layout. Clearing all layout results when scrollbars change fixes this class of issue. Bug: 845235 Change-Id: I627eab1be0adacad27668fc087fb64446a70b95e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2037729 Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org> Reviewed-by:Morten Stenshorne <mstensho@chromium.org> Reviewed-by:
Christian Biesinger <cbiesinger@chromium.org> Cr-Commit-Position: refs/heads/master@{#738591}
Showing
Please register or sign in to comment