Bug 516047 - crash [@ nsXULTreeGridCellAccessible::GetAttributesInternal(nsIPersistentProperties*)]. r=MarcoZ

This commit is contained in:
David Bolter 2009-09-18 12:20:45 -04:00
Родитель 5cdf371a5f
Коммит c2bbe398c4
1 изменённых файлов: 4 добавлений и 0 удалений

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

@ -1234,6 +1234,10 @@ nsXULTreeGridCellAccessible::GetAttributesInternal(nsIPersistentProperties *aAtt
mParent->GetParent(getter_AddRefs(accessible)); mParent->GetParent(getter_AddRefs(accessible));
nsCOMPtr<nsIAccessibleTable> tableAccessible = do_QueryInterface(accessible); nsCOMPtr<nsIAccessibleTable> tableAccessible = do_QueryInterface(accessible);
// XXX - temp fix for crash bug 516047
if (!tableAccessible)
return NS_ERROR_FAILURE;
PRInt32 colIdx = GetColumnIndex(); PRInt32 colIdx = GetColumnIndex();
PRInt32 cellIdx = -1; PRInt32 cellIdx = -1;