else NS_ASSERTION(numColsInCache == numColsInMap, "cell map has too many cols");
void nsTableFrame::RemoveCell(nsIPresContext&   aPresContext,                              nsTableCellFrame* aCellFrame,                              PRInt32           aRowIndex){  nsTableCellMap* cellMap = GetCellMap();  if (cellMap) {    cellMap->RemoveCell(aCellFrame, aRowIndex);    PRInt32 numColsInMap = GetColCount(); // cell map's notion of num cols    PRInt32 numColsInCache = mColFrames.Count();    PRInt32 numColsNotRemoved = DestroyAnonymousColFrames(aPresContext, numColsInCache - numColsInMap);    // if the cell map has fewer cols than the cache, correct it    if (numColsNotRemoved > 0) {      cellMap->AddColsAtEnd(numColsNotRemoved);    }  }}