[GridNG] Refactor NGGridLayoutAlgorithm
Refactors NGGridLayoutAlgorithm to reduce member variable usage. This change should not have any functional changes. The helpers used in NGGridLayoutAlgorithm::Layout need to be used to help compute the min/max sizes, to do this they must be static or const. This refactor has an emphasis on moving data from the class to the stack whenever possible. This change also removes the state machine, as the added complexity was determined to not be needed. Bug: 1045599 Change-Id: I6af79bc2e3093ccfd33d8c6cb5cc6d46c2ed3698 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2542766 Commit-Queue: Jacques Newman <janewman@microsoft.com> Reviewed-by:Kurt Catti-Schmidt <kschmi@microsoft.com> Reviewed-by:
Ian Kilpatrick <ikilpatrick@chromium.org> Reviewed-by:
Christian Biesinger <cbiesinger@chromium.org> Cr-Commit-Position: refs/heads/master@{#832589}
Showing
This diff is collapsed.
This diff is collapsed.
Please register or sign in to comment