Closed Bug 1213465 Opened 9 years ago Closed 9 years ago

Combine DrawResults correctly in nsTablePainter

Categories

(Core :: Layout: Images, Video, and HTML Frames, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla44
Tracking Status
firefox44 --- fixed

People

(Reporter: seth, Assigned: seth)

References

Details

Attachments

(1 file)

We're not correctly combining DrawResults in nsTablePainter. We need to prefer other failing DrawResults over BAD_IMAGE, as discussed in bug 1209715 and implemented for the DrawResult |operator&| overloads, but nsTablePainter is still using its own DrawResult combining code that doesn't do that. We can fix this by using the operator overloads.
This actually simplifies the code! We don't need the local UpdateDrawResult()
function at all anymore.
Attachment #8672145 - Flags: review?(tnikkel)
Attachment #8672145 - Flags: review?(tnikkel) → review+
Thanks for the review!
https://hg.mozilla.org/mozilla-central/rev/88c55feebfc4
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla44
Blocks: 939645
Product: Core → Core Graveyard
Product: Core Graveyard → Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: