Fixing the mail bustage. Was accidently using the internal object instead of the one passed in.

git-svn-id: svn://10.0.0.236/trunk@55210 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
tbogard%aol.net 1999-12-03 21:41:35 +00:00
parent 2019e907c8
commit 10cc7b70fe

View File

@ -2537,7 +2537,7 @@ GlobalWindowImpl::ReadyOpenedWebShell(nsIWebShell *aWebShell, nsIDOMWindow **aDO
nsresult res;
*aDOMWindow = nsnull;
nsCOMPtr<nsIScriptGlobalObject> globalObject(do_GetInterface(mWebShell));
nsCOMPtr<nsIScriptGlobalObject> globalObject(do_GetInterface(aWebShell));
NS_ENSURE_TRUE(globalObject, NS_ERROR_FAILURE);
res = CallQueryInterface(globalObject.get(), aDOMWindow);
globalObject->SetOpenerWindow(this); // damnit