workaround for bug 2476: check for null child list before calling nsFrameList::AppendFrames

git-svn-id: svn://10.0.0.236/trunk@17974 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
buster%netscape.com
1999-01-18 23:54:23 +00:00
parent 56ad6341a4
commit 0d84dd5f3e
2 changed files with 4 additions and 2 deletions

View File

@@ -118,7 +118,8 @@ nsTableColGroupFrame::InitNewFrames(nsIPresContext& aPresContext, nsIFrame* aChi
NS_IMETHODIMP
nsTableColGroupFrame::AppendNewFrames(nsIPresContext& aPresContext, nsIFrame* aChildList)
{
mFrames.AppendFrames(nsnull, aChildList);
if (nsnull!=aChildList)
mFrames.AppendFrames(nsnull, aChildList);
return NS_OK;
}