Bug 843332 - Pass 'false' to ReparentFloats since we only added one frame ('true' only works because the added frame never has any siblings in this case). r=bzbarsky

This commit is contained in:
Mats Palmgren 2013-02-28 00:05:46 +01:00
Родитель 063882b856
Коммит 352261b197
1 изменённых файлов: 3 добавлений и 3 удалений

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

@ -2572,9 +2572,9 @@ nsBlockFrame::PullFrameFrom(nsLineBox* aLine,
ReparentFrame(frame, aFromContainer, this);
mFrames.AppendFrame(nullptr, frame);
// The frame might have (or contain) floats that need to be
// brought over too.
ReparentFloats(frame, aFromContainer, true);
// The frame might have (or contain) floats that need to be brought
// over too. (pass 'false' since there are no siblings to check)
ReparentFloats(frame, aFromContainer, false);
} else {
MOZ_ASSERT(aLine == aFromLine.prev());
}