Bug 39037. Feeble attempt to fix: if for some reason we never got a parser, or the SetParser(nsnull) is called before calling DidBuildModel().

This commit is contained in:
waterson%netscape.com 2000-05-25 06:58:34 +00:00
parent c0723090ec
commit 27dd808be5
2 changed files with 2 additions and 2 deletions

View File

@ -553,7 +553,7 @@ XULContentSinkImpl::DidBuildModel(PRInt32 aQualityLevel)
// Drop our reference to the parser to get rid of a circular
// reference.
NS_RELEASE(mParser);
NS_IF_RELEASE(mParser);
return NS_OK;
}

View File

@ -553,7 +553,7 @@ XULContentSinkImpl::DidBuildModel(PRInt32 aQualityLevel)
// Drop our reference to the parser to get rid of a circular
// reference.
NS_RELEASE(mParser);
NS_IF_RELEASE(mParser);
return NS_OK;
}