if (IsBorderCollapse()) { nsRect damageArea(0, 0, GetColCount(), GetRowCount()); SetBCDamageArea(aPresContext, damageArea); }
void nsTableFrame::RemoveCol(nsIPresContext&       aPresContext,                             nsTableColGroupFrame* aColGroupFrame,                             PRInt32               aColIndex,                             PRBool                aRemoveFromCache,                             PRBool                aRemoveFromCellMap){  if (aRemoveFromCache) {    mColFrames.RemoveElementAt(aColIndex);  }  if (aRemoveFromCellMap) {    nsTableCellMap* cellMap = GetCellMap();    if (cellMap) {      CreateAnonymousColFrames(aPresContext, 1, eColAnonymousCell, PR_TRUE);    }  }}