Closed Bug 1668387 Opened 4 years ago Closed 4 years ago

Make nsContainerFrame::StealFrame() return void since it shouldn't fail.

Categories

(Core :: Layout, task)

task

Tracking

()

RESOLVED FIXED
83 Branch
Tracking Status
firefox83 --- fixed

People

(Reporter: TYLin, Assigned: TYLin)

Details

Attachments

(1 file)

The goal of this bug is to make nsContainerFrame::StealFrame() return void, and improve its documentation.

The three implementations of StealFrame() -- nsContainerFrame,
nsBlockFrame, and nsInlineFrame -- all have assertions to guarantee
aChild can be found, so the operation shouldn't fail.

Pushed by aethanyc@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/9742d6bf7d25
Make nsContainerFrame::StealFrame() return void since it shouldn't fail. r=emilio
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 83 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: