[FlexNG] Use measure cache slot for initial flex-row layout.
During flex-row layout we typically perform three passes: 1) Determine the min/max sizes. 2) Layout with a non-stretched size. 3) Layout with a stretched size. Previously we were using the "layout" cache slot for both steps, (2, 3). This patch changes step (2) to use the "measure" cache slot. This also updates the simplified layout pass to abort if it is trying to use a fragment from the "measure" pass, which was triggering a DCHECK. Bug: 845235, 1072429 Change-Id: Ib98187e09b23e86d67b39306a24318e9e932ca60 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2154489 Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org> Reviewed-by:Christian Biesinger <cbiesinger@chromium.org> Reviewed-by:
David Grogan <dgrogan@chromium.org> Cr-Commit-Position: refs/heads/master@{#761097}
Showing
Please register or sign in to comment