зеркало из https://github.com/mozilla/pjs.git
Bug 85860; changing assertion to warning because the other change for this bug brings a new window to the foreground sooner and the assertion is annoying; r=danm, sr=jag
This commit is contained in:
Родитель
66e9ce66c4
Коммит
cbba0f9e53
|
@ -3226,7 +3226,10 @@ NS_IMETHODIMP GlobalWindowImpl::Activate()
|
|||
|
||||
nsCOMPtr<nsIPresShell> presShell;
|
||||
mDocShell->GetPresShell(getter_AddRefs(presShell));
|
||||
NS_ENSURE_TRUE(presShell, NS_ERROR_FAILURE);
|
||||
if (!presShell) {
|
||||
NS_WARNING( "no preshell for window" );
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
|
||||
nsCOMPtr<nsIViewManager> vm;
|
||||
presShell->GetViewManager(getter_AddRefs(vm));
|
||||
|
|
Загрузка…
Ссылка в новой задаче