void nsTableFrame::BalanceColumnWidths(nsIPresContext*          aPresContext, const nsHTMLReflowState& aReflowState)
void nsTableFrame::BalanceColumnWidths(const nsHTMLReflowState& aReflowState)
void nsTableFrame::BalanceColumnWidths(nsIPresContext*          aPresContext,                                        const nsHTMLReflowState& aReflowState){  NS_ASSERTION(!mPrevInFlow, "never ever call me on a continuing frame!");  // fixed-layout tables need to reinitialize the layout strategy. When there are scroll bars  // reflow gets called twice and the 2nd time has the correct space available.  // XXX this is very bad and needs to be changed  if (!IsAutoLayout()) {    mTableLayoutStrategy->Initialize(aReflowState);  }  // need to figure out the overall table width constraint  // default case, get 100% of available space  mTableLayoutStrategy->BalanceColumnWidths(aReflowState);  //Dump(PR_TRUE, PR_TRUE);  SetNeedStrategyBalance(PR_FALSE);                    // we have just balanced  // cache the min, desired, and preferred widths  nscoord minWidth, prefWidth;  CalcMinAndPreferredWidths(aReflowState, PR_FALSE, minWidth, prefWidth);  SetMinWidth(minWidth);   nscoord desWidth = CalcDesiredWidth(aReflowState);  SetDesiredWidth(desWidth);            SetPreferredWidth(prefWidth); }