fixed bug 9845

git-svn-id: svn://10.0.0.236/trunk@39984 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rickg%netscape.com
1999-07-18 06:35:52 +00:00
parent 8f5e039249
commit eaead748d4
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) {