49
edits
| Line 44: | Line 44: | ||
Use nsVoidArray or nsSmallVoidArray in fields instead. Where this occurs in nsSVGTransformList, we want an nsSmallVoidArray. | Use nsVoidArray or nsSmallVoidArray in fields instead. Where this occurs in nsSVGTransformList, we want an nsSmallVoidArray. | ||
==== Don't create unnecessary objects ==== | ==== [DONE] Don't create unnecessary objects ==== | ||
Currently we create an nsAnimatedSVGTransformList even for elements that | Currently we create an nsAnimatedSVGTransformList even for elements that | ||
don't have transforms. We should at least be able to leave it null for such elements. (See below for additional work to remove the field altogether.) | don't have transforms. We should at least be able to leave it null for such elements. (See below for additional work to remove the field altogether.) | ||
[tor] SVG transform list now created lazily as part of {{bug|334400}} | |||
==== Eliminate duplicated code ==== | ==== Eliminate duplicated code ==== | ||
edits