Closed Bug 1144307 Opened 7 years ago Closed 7 years ago
Display Scroll Layer leaks on try w/ APZ
When I do a try run w/ APZ enabled, I get some new memory leaks for nsDisplayScrollInfoLayer and friends. Might be related to bug 1141595. https://treeherder.mozilla.org/#/jobs?repo=try&revision=5637ecd545aa
I've tried to reproduce this using > mach mochitest --setpref layers.async-pan-zoom.enabled=true --setpref layout.event-regions.enabled=true browser/base/content/test/chat but I don't get any leaks on Mac with that. David, can you test whether that command reproduces the problem for you on Windows?
Nevermind, I think I know what's going on. We need to call the destructor manually of any display item that has been removed from the display list that's passed to ProcessDisplayItems.
Oops. This one compiles.
Attachment #8579085 - Flags: review?(tnikkel) → review+
You need to log in before you can comment on or make changes to this bug.