nsTableFrame::DestroyAnonymousColFrames(nsIPresContext& aPresContext,
nsTableFrame::DestroyAnonymousColFrames(nsPresContext& aPresContext,
nsTableFrame::DestroyAnonymousColFrames(nsIPresContext& aPresContext,                                        PRInt32 aNumFrames){  // only remove cols that are of type eTypeAnonymous cell (they are at the end)  PRInt32 endIndex   = mColFrames.Count() - 1;  PRInt32 startIndex = (endIndex - aNumFrames) + 1;  PRInt32 numColsRemoved = 0;  for (PRInt32 colX = endIndex; colX >= startIndex; colX--) {    nsTableColFrame* colFrame = GetColFrame(colX);    if (colFrame && (eColAnonymousCell == colFrame->GetType())) {      nsTableColGroupFrame* cgFrame;      colFrame->GetParent((nsIFrame**)&cgFrame);      // remove the frame from the colgroup      cgFrame->RemoveChild(aPresContext, *colFrame, PR_FALSE);      // remove the frame from the cache, but not the cell map       RemoveCol(aPresContext, nsnull, colX, PR_TRUE, PR_FALSE);      numColsRemoved++;    }    else {      break;     }  }  return (aNumFrames - numColsRemoved);}