To reduce nsIDOM* usage in nsDocumentEncoder, also serializers need to be de-nsIDOM'ed.
Comment on attachment 442117 [details] [diff] [review] wip DocumentEncoder patch and this one speed up https://bugzilla.mozilla.org/attachment.cgi?id=442087 ~20%
Comment on attachment 442117 [details] [diff] [review] wip I need to update this for Bug 561221
Would you mind updating this to do the new isElement stuff that bz added before I review this? Might as well review after those changes are done.
Comment on attachment 443001 [details] [diff] [review] patch There are a bunch of places where you could replace static_cast to nsIContent* with calls to AsElement(). r=me either way
Attachment #443001 - Flags: review?(jonas) → review+
Oops, the patch somehow caused some orange.
Ok, it was just a silly copy-paste error.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.