[GridNG] Refactor item set indices and grid lines for out of flow items
1. Previously, we were storing the set indices of each item directly in GridItemData. This is not necessary as they can be computed on demand. `CacheItemSetIndices` was renamed to `ComputeItemSetIndices` and was changed to return `ItemSetIndices` instead. 2. `ResolveOutOfFlowItemGridLines` was moved to `NGGridPlacement` addressing a TODO. Now the variables `automatic_repetitions` and `explicit_start` can be directly obtained from the placement instance. This change does not add nor remove any functionality. Bug: 1045599 Change-Id: Ib0d3898f9979788cb4e9f7311ab9ad7a1c03504f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2626356 Commit-Queue: Ana Sollano Kim <ansollan@microsoft.com> Reviewed-by:Ethan Jimenez <ethavar@microsoft.com> Reviewed-by:
Christian Biesinger <cbiesinger@chromium.org> Reviewed-by:
Kurt Catti-Schmidt <kschmi@microsoft.com> Reviewed-by:
Ian Kilpatrick <ikilpatrick@chromium.org> Reviewed-by:
Jacques Newman <janewman@microsoft.com> Cr-Commit-Position: refs/heads/master@{#845846}
Showing
This diff is collapsed.
Please register or sign in to comment