Closed
Bug 1177615
Opened 5 years ago
Closed 5 years ago
Remove FLAG_DECODE_STARTED and related code from ImageLib
Categories
(Core :: ImageLib, defect)
Core
ImageLib
Not set
Tracking
()
RESOLVED
FIXED
mozilla42
Tracking | Status | |
---|---|---|
firefox42 | --- | fixed |
People
(Reporter: seth, Assigned: seth)
References
Details
Attachments
(1 file)
18.84 KB,
patch
|
tnikkel
:
review+
|
Details | Diff | Splinter Review |
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!
Assignee | ||
Comment 1•5 years ago
|
||
Here's the patch. Tons of code deleted.
Attachment #8626410 -
Flags: review?(tnikkel)
Assignee | ||
Comment 2•5 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=fa48a8ddf580
Assignee | ||
Comment 3•5 years ago
|
||
Try looks green.
Updated•5 years ago
|
Attachment #8626410 -
Flags: review?(tnikkel) → review+
Assignee | ||
Comment 4•5 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/20748e1e2276
https://hg.mozilla.org/mozilla-central/rev/20748e1e2276
Status: NEW → RESOLVED
Closed: 5 years ago
status-firefox42:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla42
You need to log in
before you can comment on or make changes to this bug.
Description
•