[css-grid] Use order-modified document order for m_gridItemsIndexesMap
We were storing the index in the DOM for the grid items in m_gridItemsIndexesMap. However, we can already store the index following the order-modified document order. This allows us to simplify the sorter in painting, as we don't need to check the order property now, just simply use the stored index. No new tests, as it's already covered by current tests. CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Review-Url: https://chromiumcodereview.appspot.com/2438253003 Cr-Commit-Position: refs/heads/master@{#426989}
Showing
Please register or sign in to comment