Docshell doesn't need to hold a pointer to the scriptcontext; the window does

it.  Bug 282807, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@169528 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bzbarsky%mit.edu
2005-02-20 17:02:02 +00:00
parent 8a55c3b28a
commit 72a6885a89
4 changed files with 18 additions and 19 deletions

View File

@@ -188,15 +188,6 @@ nsWebShell::~nsWebShell()
mContentViewer=nsnull;
mDeviceContext=nsnull;
if (mScriptGlobal) {
mScriptGlobal->SetDocShell(nsnull);
mScriptGlobal = nsnull;
}
if (mScriptContext) {
mScriptContext->SetOwner(nsnull);
mScriptContext = nsnull;
}
InitFrameData();
#ifdef DEBUG