mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-27 21:00:50 +00:00
Bug 588237, patch 2: Fix comment that is now incorrect due to work in bug 563584 or followups. r=roc
This commit is contained in:
parent
96ef1a377a
commit
e2afcf2e7d
@ -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<nsBlockFrame*>(GetPrevInFlow());
|
||||
if (!prevBlock)
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user