зеркало из https://github.com/mozilla/gecko-dev.git
[Bug 353619] firefox crash with orca running [@
nsRootAccessible::GetContentDocShell] r= aaronlev
This commit is contained in:
Родитель
328440a695
Коммит
2a80cc948e
|
@ -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) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче