diff --git a/layout/generic/nsBlockFrame.cpp b/layout/generic/nsBlockFrame.cpp index 8da4bd341b79..12ff95a5f852 100644 --- a/layout/generic/nsBlockFrame.cpp +++ b/layout/generic/nsBlockFrame.cpp @@ -4427,9 +4427,6 @@ nsBlockFrame::DrainSelfOverflowList() return true; } -// This function assumes our prev-in-flow has completed reflow and its -// mFloats may contain frames at the end of its float list, marked with -// NS_FRAME_IS_PUSHED_FLOAT, that should be pulled to this block. void nsBlockFrame::DrainPushedFloats(nsBlockReflowState& aState) { @@ -4442,7 +4439,8 @@ nsBlockFrame::DrainPushedFloats(nsBlockReflowState& aState) nsLayoutUtils::AssertNoDuplicateContinuations(this, mFloats); #endif - // Take any continuations we need to take from our prev-in-flow. + // After our prev-in-flow has completed reflow, it may have a pushed + // floats list, containing floats that we need to own. Take these. nsBlockFrame* prevBlock = static_cast(GetPrevInFlow()); if (!prevBlock) return;