mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 11:55:49 +00:00
Fixing the mail bustage. Was accidently using the internal object instead of the one passed in.
This commit is contained in:
parent
1fb4874905
commit
d6a8d07409
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user