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:
@@ -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