nsTableCellMap* cellMap = GetCellMap(); if (cellMap) { PRInt32 rowIndex = cellMap->GetRowCount(); InsertRowGroups(aPresContext, aFirstRowGroupFrame, rowIndex);
if (aFirstRowGroupFrame) { nsTableCellMap* cellMap = GetCellMap(); if (cellMap) { nsFrameList newList(aFirstRowGroupFrame); InsertRowGroups(aPresContext, aFirstRowGroupFrame, newList.LastChild()); }
void nsTableFrame::AppendRowGroups(nsIPresContext& aPresContext,                                   nsIFrame*       aFirstRowGroupFrame){  nsTableCellMap* cellMap = GetCellMap();  if (cellMap) {    PRInt32 rowIndex = cellMap->GetRowCount();    InsertRowGroups(aPresContext, aFirstRowGroupFrame, rowIndex);  }}