SetPreferredSize(state, childBox, onePixel, aIsHorizontal, &pref);
if (childBox) { SetPreferredSize(state, childBox, onePixel, aIsHorizontal, &pref); }
nsSplitterFrameInner::AdjustChildren(nsPresContext* aPresContext, nsSplitterInfo* aChildInfos, PRInt32 aCount, PRBool aIsHorizontal){  ///printf("------- AdjustChildren------\n");  nsBoxLayoutState state(aPresContext);  nscoord onePixel = aPresContext->IntScaledPixelsToTwips(1);  // first set all the widths.  nsIBox* child = nsnull;  mOuter->GetChildBox(&child);  while(child)  {    SetPreferredSize(state, child, onePixel, aIsHorizontal, nsnull);    child->GetNextBox(&child);  }  // now set our changed widths.  for (int i=0; i < aCount; i++)   {    nscoord   pref       = aChildInfos[i].changed;    nsIBox* childBox     = aChildInfos[i].child;    SetPreferredSize(state, childBox, onePixel, aIsHorizontal, &pref);  }}