Bug 1178817 - Fix segfault in mozilla::a11y::HTMLTableRowAccessible::GroupPosition(). r=MarcoZ

CLOSED TREE
This commit is contained in:
Frédéric Wang 2015-07-01 05:02:00 -04:00
parent 466d14756f
commit 42c43180f5

View File

@ -255,8 +255,8 @@ nsAccUtils::TableFor(Accessible* aRow)
tableRole = table->Role();
}
return tableRole == roles::TABLE || tableRole == roles::TREE_TABLE ?
table : nullptr;
return (tableRole == roles::TABLE || tableRole == roles::TREE_TABLE ||
tableRole == roles::MATHML_TABLE) ? table : nullptr;
}
}