nsStubImageDecoderObserver Class Reference
Inherited by nsBulletListener, nsImageBoxListener, nsImageDocument, nsImageListener, nsImageLoader, nsSVGImageListener, and nsTreeImageListener.
There are two advantages to inheriting from nsStubImageDecoderObserver
rather than directly from imgIDecoderObserver: 1. smaller compiled code size (since there's no need for the code for the empty virtual function implementations for every imgIDecoderObserver implementation) 2. the performance of document's loop over observers benefits from the fact that more of the functions called are the same (which can reduce instruction cache misses and perhaps improve branch prediction)
Definition at line 61 of file nsStubImageDecoderObserver.h.
The documentation for this class was generated from the following file: