Bug 408904 Fix crash regression from bug 384874 r=Enn sr=bz a=beltzner

git-svn-id: svn://10.0.0.236/trunk@241950 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
neil%parkwaycc.co.uk 2007-12-21 17:59:35 +00:00
parent 23df125d56
commit 60deea853b

View File

@ -782,8 +782,10 @@ nsSprocketLayout::PopulateBoxSizes(nsIBox* aBox, nsBoxLayoutState& aState, nsBox
while(child)
{
while (currentBox && currentBox->bogus)
while (currentBox && currentBox->bogus) {
last = currentBox;
currentBox = currentBox->next;
}
++childCount;
nsSize pref(0,0);
nsSize min(0,0);