Closed Bug 1851868 Opened 1 year ago Closed 1 year ago

Refactor nsIFrame::Destroy to pass a single DestroyContext parameter.

Categories

(Core :: Layout, task)

task

Tracking

()

RESOLVED FIXED
119 Branch
Tracking Status
firefox-esr115 --- fixed
firefox119 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

Details

Attachments

(1 file)

No description provided.

This shouldn't change behavior, but it packs the two arguments to
DestroyFrom into a single thing, and makes nsIFrame::Destroy not so easy
to call without a previous context.

This is a prerequisite to pass aDestroyContext to various things that
right now just mint one, which can cause badness, see bug 1851787 and
related bugs.

It's also a bit nicer to add things there if we need to in the future.

Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/55052ae7d067 Refactor nsIFrame::Destroy to pass a single DestroyContext parameter. r=dholbert
Attachment #9351846 - Attachment description: Bug 1851868 - Refactor nsIFrame::Destroy to pass a single DestroyContext parameter. r=#layout-reviewers → Bug 1851868 - Refactor nsIFrame::Destroy to pass a single DestroyContext parameter. r=dholbert
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0acb0f0a8cdc Refactor nsIFrame::Destroy to pass a single DestroyContext parameter. r=dholbert
Flags: needinfo?(emilio)
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 119 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: