mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-16 14:55:47 +00:00
workaround for bug 2476: check for null child list before calling nsFrameList::AppendFrames
This commit is contained in:
parent
723c42a967
commit
45846b7bca
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user