Fixing bug 257649. Fixing shutdown leak (again) caused by the global scope polluter. r+sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@161598 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
310816c9c4
commit
00a46e0838
@ -604,7 +604,7 @@ GlobalWindowImpl::SetNewDocument(nsIDOMDocument* aDocument,
|
||||
::JS_ClearRegExpStatics(cx);
|
||||
|
||||
if (gsp) {
|
||||
nsCOMPtr<nsIHTMLDocument> html_doc(do_QueryInterface(mDocument));
|
||||
nsCOMPtr<nsIHTMLDocument> html_doc(do_QueryInterface(aDocument));
|
||||
|
||||
nsWindowSH::InstallGlobalScopePolluter(cx, mJSObject, gsp,
|
||||
html_doc);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user