Open
Bug 516063
Opened 15 years ago
Updated 2 years ago
imgIContainer should demand a non-null observer
Categories
(Core :: Graphics: ImageLib, defect)
Tracking
()
NEW
People
(Reporter: bholley, Unassigned)
References
Details
This would let us get rid of a bunch of if (mObserver) checks in the decoders. The only place where we have a null observer at the moment is imgTools, but that code could just instantiate an nsStubImageDecoderObserver and pass it in.
Comment 1•13 years ago
|
||
Is this something we're still interested in doing?
Reporter | ||
Comment 2•13 years ago
|
||
(In reply to Ali Juma [:ajuma] from comment #1)
> Is this something we're still interested in doing?
Yes, unless joe disagrees here.
Comment 3•13 years ago
|
||
I'm pretty sure we have other examples of this too, but I totally agree that we should just make it impossible.
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•