nsTableFrame::CreateAnonymousColGroupFrame(nsIPresContext&     aPresContext,
nsTableFrame::CreateAnonymousColGroupFrame(nsPresContext&     aPresContext,
nsTableFrame::CreateAnonymousColGroupFrame(nsIPresContext&     aPresContext,                                           nsTableColGroupType aColGroupType){  nsIContent* colGroupContent = GetContent();  nsIPresShell *shell = aPresContext.PresShell();  nsRefPtr<nsStyleContext> colGroupStyle;  colGroupStyle = shell->StyleSet()->ResolvePseudoStyleFor(colGroupContent,                                                           nsCSSAnonBoxes::tableColGroup,                                                           mStyleContext);  // Create a col group frame  nsIFrame* newFrame;  nsresult result = NS_NewTableColGroupFrame(shell, &newFrame);  if (NS_SUCCEEDED(result) && newFrame) {    ((nsTableColGroupFrame *)newFrame)->SetColType(aColGroupType);    newFrame->Init(&aPresContext, colGroupContent, this, colGroupStyle, nsnull);  }  return (nsTableColGroupFrame *)newFrame;}