Closed Bug 781679 Opened 7 years ago Closed 7 years ago

Assert that we do not destroy the layer manager while in the middle of painting

Categories

(Core :: Graphics: Layers, defect)

defect
Not set

Tracking

()

RESOLVED FIXED
mozilla17

People

(Reporter: joe, Assigned: joe)

Details

Attachments

(1 file)

Bug 773097 was caused by switching layer managers while in the middle of painting. We should set a bit when we start painting, and unset it after we're done, and then assert that the bit is false whenever we're changing layer managers.
Haven't been able to test this yet, because I didn't have a debug build on this Windows machine, but I believe it would have caught the bug.
Assignee: nobody → joe
Attachment #651542 - Flags: review?(matt.woodrow)
This patch does, indeed, work.
Attachment #651542 - Flags: review?(matt.woodrow) → review+
https://hg.mozilla.org/mozilla-central/rev/5c8fcc4cc760
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.