Closed Bug 1712218 Opened 3 years ago Closed 3 years ago

Refactor fetching the content frame from nsPageFrame

Categories

(Core :: CSS Parsing and Computation, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
90 Branch
Tracking Status
firefox90 --- fixed

People

(Reporter: alaskanemily, Assigned: alaskanemily)

Details

Attachments

(1 file)

The first child of an nsPageFrame is always an nsPageContentFrame. We have a number of checks in the code to validate this, but we could just have a single getter which asserts this and returns the nsPageContentFrame.

Pushed by emcdonough@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/775ea078b9cb
Refactor getting the nsPageContentFrame from nsPageFrame r=emilio
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 90 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: