SVG:Cleanup: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 22: Line 22:
==== Fix nsAutoVoidArray field ====
==== Fix nsAutoVoidArray field ====


Use nsVoidArray or nsSmallVoidArray in fields instead.
Use nsVoidArray or nsSmallVoidArray in fields instead. Where this occurs in nsSVGTransformList, we want an nsSmallVoidArray.
 
==== Don't create unnecessary objects ====
 
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.)


==== Eliminate duplicated code ====
==== Eliminate duplicated code ====
1,295

edits

Navigation menu