зеркало из https://github.com/mozilla/gecko-dev.git
Fixing the mail bustage. Was accidently using the internal object instead of the one passed in.
This commit is contained in:
Родитель
1fb4874905
Коммит
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
|
||||
|
|
Загрузка…
Ссылка в новой задаче