DescriptionSimplify SVG layout attribute reordering
findFirstAndLastAttributesInVector is an identity transform, since it
only search for first/lastContext in the layout attributes vector and
return that in the out variable. Remove it. This in turn means that the
vector of layout attributes is unused, and hence also removed. Finally
tidy up the reversing loop by moving more code into the swapping helper
function, and merge the two identical sequences of item swapping code.
Drop the ASSERT that disallows having no (nullptr) user-data for the
closure to collectLeafBoxesInLogicalOrder.
BUG=607906
Committed: https://crrev.com/23b6e12f968b96fa35d612b0779144fb62a1cf86
Cr-Commit-Position: refs/heads/master@{#390751}
Patch Set 1 #Patch Set 2 : Remove ASSERT. #
Total comments: 2
Patch Set 3 : Remove userData argument/closure. #
Messages
Total messages: 16 (8 generated)
|