зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
96ef1a377a
Коммит
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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче