Closed Bug 385960 Opened 17 years ago Closed 15 years ago

Remove unused parameter timeout from EndFrameDecode

Categories

(Core :: Graphics: ImageLib, defect)

defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 418871

People

(Reporter: alfredkayser, Assigned: alfredkayser)

References

()

Details

Remove unused parameter timeout from EndFrameDecode:

Implementation of EndFrameDecode doesn't use 'timeout'.

Callers are nsPNGDecoder and nsGIFDecoder2.

nsPNGDecoder first gets timeout from frame and then passes it to EndFrameDecode, which is a waste of effort, as EndFrameDecode doesn't use it.
nsGIFDecoder just passes the same value from the SetTimeout to the frame to EndFrameDecode.
Blocks: 430829
Merged with bug 418871: imgIContainer cleanup
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.