fixed bug 9845

This commit is contained in:
rickg@netscape.com
1999-07-18 06:35:52 +00:00
parent fcbdb3e0b1
commit 9cbf11fa67
6 changed files with 56 additions and 40 deletions

View File

@@ -1070,7 +1070,8 @@ nsHTMLFramesetFrame::Reflow(nsIPresContext& aPresContext,
aPresContext.ResolvePseudoStyleContextFor(mContent, nsHTMLAtoms::framesetBlankPseudo,
mStyleContext, PR_FALSE,
&pseudoStyleContext);
blankFrame->Init(aPresContext, mContent, this, pseudoStyleContext, nsnull);
if(blankFrame)
blankFrame->Init(aPresContext, mContent, this, pseudoStyleContext, nsnull);
NS_RELEASE(pseudoStyleContext);
if (nsnull == lastChild) {