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:
L. David Baron 2013-01-11 14:51:21 -08:00
Родитель 96ef1a377a
Коммит e2afcf2e7d
1 изменённых файлов: 2 добавлений и 4 удалений

Просмотреть файл

@ -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;