[Bug 353619] firefox crash with orca running [@

nsRootAccessible::GetContentDocShell]
r= aaronlev
This commit is contained in:
ginn.chen%sun.com 2006-09-21 21:52:10 +00:00
Родитель 328440a695
Коммит 2a80cc948e
1 изменённых файлов: 4 добавлений и 0 удалений

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

@ -934,6 +934,10 @@ NS_IMETHODIMP nsRootAccessible::Shutdown()
already_AddRefed<nsIDocShellTreeItem>
nsRootAccessible::GetContentDocShell(nsIDocShellTreeItem *aStart)
{
if (!aStart) {
return nsnull;
}
PRInt32 itemType;
aStart->GetItemType(&itemType);
if (itemType == nsIDocShellTreeItem::typeContent) {