Bug 1194859 - crash in mozilla::a11y::ARIAGridCellAccessible::GroupPosition(), part2, r=marcoz
This commit is contained in:
@@ -147,8 +147,8 @@ GroupPos
|
||||
HTMLTableCellAccessible::GroupPosition()
|
||||
{
|
||||
int32_t count = 0, index = 0;
|
||||
Accessible* table = Table()->AsAccessible();
|
||||
if (table && nsCoreUtils::GetUIntAttr(table->GetContent(),
|
||||
TableAccessible* table = Table();
|
||||
if (table && nsCoreUtils::GetUIntAttr(table->AsAccessible()->GetContent(),
|
||||
nsGkAtoms::aria_colcount, &count) &&
|
||||
nsCoreUtils::GetUIntAttr(mContent, nsGkAtoms::aria_colindex, &index)) {
|
||||
return GroupPos(0, index, count);
|
||||
|
||||
Reference in New Issue
Block a user