Closed Bug 1425078 Opened 2 years ago Closed 2 years ago

Remove nsDisplayList::AppendNewToTop and nsDisplayList::AppendNewToBottom

Categories

(Core :: Web Painting, enhancement)

enhancement
Not set

Tracking

()

RESOLVED FIXED
mozilla59
Tracking Status
firefox59 --- fixed

People

(Reporter: miko, Assigned: miko)

Details

Attachments

(1 file)

As we are using an infallible memory allocator, these null checks are no longer needed.
The patch replaces AppendNewTo(Top/Bottom) with AppendTo(Top/Bottom), and changes NS_ASSERT in them to MOZ_ASSERT.
Comment on attachment 8936661 [details]
Bug 1425078 - Remove nsDisplayList::AppendNewToTop and nsDisplayList::AppendNewToBottom

https://reviewboard.mozilla.org/r/207402/#review213278
Attachment #8936661 - Flags: review?(matt.woodrow) → review+
Pushed by mikokm@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/4a2e9a178542
Remove nsDisplayList::AppendNewToTop and nsDisplayList::AppendNewToBottom r=mattwoodrow
https://hg.mozilla.org/mozilla-central/rev/4a2e9a178542
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla59
You need to log in before you can comment on or make changes to this bug.