Closed Bug 1382664 Opened 7 years ago Closed 7 years ago

Label dispatch from RasterImage::OnSurfaceDiscarded

Categories

(Core :: Graphics: ImageLib, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
mozilla57
Tracking Status
firefox57 --- fixed

People

(Reporter: aosmond, Assigned: aosmond)

References

Details

(Whiteboard: [gfx-noted])

Attachments

(1 file)

RasterImage::OnSurfaceDiscarded dispatches an unlabelled event to call RasterImage::OnSurfaceDiscardedInternal.
Assignee: nobody → aosmond
Blocks: 1350938
Status: NEW → ASSIGNED
Priority: -- → P3
Whiteboard: [gfx-noted]
I thought we determined that this could be in the system group in another bug?
(In reply to Timothy Nikkel (:tnikkel) from comment #2)
> I thought we determined that this could be in the system group in another
> bug?

If there are no observers it will use the system group. But it does trigger imgINotificationObserver::DISCARD events to the observers, so I think we want to match the dispatch here as much as possible? It shouldn't be more harmful than the system group at least.
Attachment #8888310 - Flags: review?(tnikkel)
Attachment #8888310 - Flags: review?(tnikkel) → review+
Pushed by aosmond@gmail.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/2807cf0b6271
RasterImage::OnSurfaceDiscarded should dispatch with ProgressTracker::GetEventTarget. r=tnikkel
https://hg.mozilla.org/mozilla-central/rev/2807cf0b6271
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla57
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: