[css-grid] Avoid computing twice the number of auto-repeat columns
During the track sizing layout, we were computing twice the number of auto-repeat columns. That was causing crashes on debug and ASAN builds. The patch computes the value once and pass it to LayoutGrid::placeItemsOnGrid(), which avoids the issue. Add new cases that were crashing to test introduced in r405529. BUG=633474 TBR=svillar@igalia.com TEST=fast/css-grid-layout/grid-indefinite-size-auto-repeat-crash.html Review-Url: https://codereview.chromium.org/2254843002 Cr-Commit-Position: refs/heads/master@{#412638}
Showing
Please register or sign in to comment