DescriptionSetting up OrderIterator shouldn't require an extra Vector
This change reuses the OrderIterator's Vector for fun and profit.
The idea is to have an helper class OrderIteratorPopulator, used for
manipulating the Vector directly.
The helper class has the nice upside of consolidating the code into a
single implementation across flexbox and grid.
Also tweaked the Vector to have an inline capacity for a single entry
that will cover the common case.
BUG=256804
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=153971
Patch Set 1 #
Total comments: 4
Patch Set 2 : Updated after cbiesinger's review #
Messages
Total messages: 7 (0 generated)
|