Landed changes made on branch (bug #312572)

This commit is contained in:
kipp%netscape.com 1998-08-06 19:52:48 +00:00
Родитель c8892d2e22
Коммит 8a88e31cb1
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -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;
}
/**