Docshell doesn't need to hold a pointer to the scriptcontext; the window does
it. Bug 282807, r+sr=jst
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user