In bug 321054 comment 47 darin suggested implementing a stub imgIDecoderObserver implementation with all the methods empty so that the empty methods could be shared between the many implementations in content/layout. This would be a lot like the existing nsStubDocumentObserver class.
Created attachment 225680 [details] [diff] [review] patch I couldn't touch nsImageLoadingContent and nsObjectLoadingContent because they inherit from interfaces that inherit from imgIDecoderObserver rather than inheriting directly.
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.9alpha
Comment on attachment 225680 [details] [diff] [review] patch looks great, r+sr=sicking
Checked in to trunk.
Status: ASSIGNED → RESOLVED
Last Resolved: 12 years ago
Resolution: --- → FIXED
This appears to have brought btek Tp down by about 2 ms. Yay! A bit hard to say for sure since it was followed by the patch for bug 339041 which brought it down an additional 4 or 5 ms.
You need to log in before you can comment on or make changes to this bug.