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

This commit is contained in:
tbogard%aol.net 1999-12-03 21:41:35 +00:00
Родитель 1fb4874905
Коммит d6a8d07409
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

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