Landed changes made on branch (bug #312572)

This commit is contained in:
kipp%netscape.com 1998-08-06 19:52:48 +00:00
parent c8892d2e22
commit 8a88e31cb1

View File

@ -305,6 +305,7 @@ PresShell::QueryInterface(const nsIID& aIID, void** aInstancePtr)
PresShell::~PresShell()
{
mRefCnt = 99;/* XXX hack! get around re-entrancy bugs */
if (nsnull != mDocument) {
mDocument->DeleteShell(this);
NS_RELEASE(mDocument);
@ -315,6 +316,7 @@ PresShell::~PresShell()
NS_IF_RELEASE(mPresContext);
NS_IF_RELEASE(mViewManager);
NS_IF_RELEASE(mStyleSet);
mRefCnt = 0;
}
/**