DescriptionTidy up ComputedStyle::applyTransform
Use range-based for-loops when iterating transform operations (also in
ComputedStyle::requireTransformOrigin), since it's both tidier and
avoids unnecessary index-checks (in operator[].)
Move computation of offsetX/offsetY closer to their point of usage.
Extract the size of the bounding box once, and also drop some unneeded
qualifications of enumeration values.
BUG=369942
Committed: https://crrev.com/4ae2f78aa839eb6243f84152033d5e740562b10b
Cr-Commit-Position: refs/heads/master@{#429598}
Patch Set 1 #
Messages
Total messages: 12 (7 generated)
|