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:
law%netscape.com 2002-01-16 06:43:45 +00:00
Родитель 66e9ce66c4
Коммит cbba0f9e53
1 изменённых файлов: 4 добавлений и 1 удалений

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

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