зеркало из https://github.com/mozilla/gecko-dev.git
Bug 516047 - crash [@ nsXULTreeGridCellAccessible::GetAttributesInternal(nsIPersistentProperties*)]. r=MarcoZ
This commit is contained in:
Родитель
5cdf371a5f
Коммит
c2bbe398c4
|
@ -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;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче