[css-grid] Cache definite height detection
This is a refactoring patch which stores the definite/indefinite height detection in a new attribute m_hasDefiniteLogicalHeight in LayoutGrid. That way we just only call LayoutBlock::hasDefiniteLogicalHeight() once, from LayoutGrid::layoutBlock(). Then in LayoutGrid::gridTrackSize() we reuse the cached value. No new tests, no change of behavior. BUG=624301 Review-Url: https://codereview.chromium.org/2334133002 Cr-Commit-Position: refs/heads/master@{#418831}
Showing
Please register or sign in to comment