Closed Bug 1177615 Opened 5 years ago Closed 5 years ago
_DECODE _STARTED and related code from Image Lib
Bug 1177604 removes the last use of FLAG_DECODE_STARTED outside of ImageLib. The only remaining usage is inside of ImageLib - imgRequestProxy resets an image's cache entry when an image starts decoding, to prevent multipart image's cache entry size from growing without bound. We can handle that directly in imgRequest, though, so this usage isn't necessary either. In this bug, I'll handle resetting the cache entry size in imgRequest, and remove every other piece of code that only exists to support FLAG_DECODE_STARTED. It's a surprising amount of code!
Here's the patch. Tons of code deleted.
Attachment #8626410 - Flags: review?(tnikkel)
Try looks green.
Attachment #8626410 - Flags: review?(tnikkel) → review+
You need to log in before you can comment on or make changes to this bug.