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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user