Closed Bug 1517069 Opened 9 months ago Closed 9 months ago

Make GetMultiColumnContainingBlockFor() return nsContainerFrame*

Categories

(Core :: Layout, enhancement, P4)

enhancement

Tracking

()

RESOLVED FIXED
mozilla66
Tracking Status
firefox66 --- fixed

People

(Reporter: TYLin, Assigned: TYLin)

Details

Attachments

(1 file)

It's more natural for GetMultiColumnContainingBlockFor() to return nsContainerFrame*, and easier to use with some APIs demanding a container frame (to avoid downcasting).
GetParent() already returns nsContainerFrame*, and it's easier to use
with API like FinishBuildingColumns() demanding a nsContainerFrame*.
Pushed by aethanyc@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/7500e3ad817a
Make GetMultiColumnContainingBlockFor() return nsContainerFrame*. r=dholbert
https://hg.mozilla.org/mozilla-central/rev/7500e3ad817a
Status: ASSIGNED → RESOLVED
Closed: 9 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla66
You need to log in before you can comment on or make changes to this bug.