Closed Bug 1888702 Opened 3 months ago Closed 3 months ago

Minor cleanup in nsFlexContainerFrame and nsCSSFrameConstructor

Categories

(Core :: Layout, task)

task

Tracking

()

RESOLVED FIXED
126 Branch
Tracking Status
firefox126 --- fixed

People

(Reporter: TYLin, Assigned: TYLin)

Details

Attachments

(2 files)

Minor cleanup while I'm investigating forced break in flex container in bug 1663079.

Remove the forward declarations because we use mozilla:: prefix in the header.

Assignee: nobody → aethanyc
Status: NEW → ASSIGNED

The last caller of PrependPageBreakItem() is removed in
https://hg.mozilla.org/mozilla-central/rev/97613a0619b2

Since we only need to append page break items, we don't need
InsertPageBreakItem() and InsertPageBreakLocation enum. We can just implement
AppendPageBreakItem directly.

Pushed by tlin@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/94ac33c5c516
Part 1 - Remove unused #includes and forward declarations for flex container frame. r=layout-reviewers,tnikkel
https://hg.mozilla.org/integration/autoland/rev/5abc3ab011c9
Part 2 - Remove PrependPageBreakItem() and simplify AppendPageBreakItem(). r=layout-reviewers,emilio
Status: ASSIGNED → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 126 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: