DescriptionUse SVGLength's wrapped CSSPrimitiveValue for pres.attr. style
Since SVGLength now wraps a CSSPrimitiveValue, there's no need to create
a (potentially new) CSSPrimitiveValue when collecting presentation
attribute style for SVG elements. Could save an allocation in some
cases.
Gets rid of the addSVGLengthPropertyToPresentationAttributeStyle helper
on SVGElement.
Committed: https://crrev.com/8cceecb12a9fe3e08d9c2ff87dc64e00c76435ac
Cr-Commit-Position: refs/heads/master@{#362680}
Patch Set 1 #Messages
Total messages: 16 (7 generated)
|