 Chromium Code Reviews
 Chromium Code Reviews Issue 
            1465153004:
    [css-grid] Avoid duplicated calls to resolution code  (Closed)
    
  
    Issue 
            1465153004:
    [css-grid] Avoid duplicated calls to resolution code  (Closed) 
  | Description[css-grid] Avoid duplicated calls to resolution code
We were calling GridResolvedPosition::resolveGridPositionsFromStyle()
several times per item.
We can store the GridCoordinates in
LayoutGrid::populateExplicitGridAndOrderIterator()
and reuse them in the placement code.
Once LayoutGrid::placeItemsOnGrid() is over,
all the items will have a definite position in both axis.
No new tests, no change of behavior.
BUG=444011
GridResolvedPosition::resolveGridPositionsFromStyle
Committed: https://crrev.com/a7e24b5853a11308a12b302b34c9f624f2acd367
Cr-Commit-Position: refs/heads/master@{#361855}
   Patch Set 1 #
 Messages
    Total messages: 9 (3 generated)
     | |||||||||||||||||||