Bug 382746 "ASSERTION: Lists not the same length"Bug 382899 "ASSERTION: bad pref, min, max size"Both patches r=Enn sr=bz

This commit is contained in:
neil@parkwaycc.co.uk 2007-06-03 13:46:59 -07:00
Родитель f9f342643d
Коммит 2007eeca82
1 изменённых файлов: 3 добавлений и 0 удалений

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

@ -452,6 +452,7 @@ nsSprocketLayout::Layout(nsIBox* aBox, nsBoxLayoutState& aState)
{
childComputedBoxSize = childComputedBoxSize->next;
childBoxSize = childBoxSize->next;
child = child->GetNextBox();
count++;
x = nextX;
y = nextY;
@ -916,6 +917,8 @@ nsSprocketLayout::PopulateBoxSizes(nsIBox* aBox, nsBoxLayoutState& aState, nsBox
// we specified all our children are equal size;
if (frameState & NS_STATE_EQUAL_SIZE) {
nsBox::BoundsCheck(biggestMinWidth, biggestPrefWidth, smallestMaxWidth);
currentBox = aBoxSizes;
while(currentBox)