Bug 1193786 - crash in mozilla::dom::Element::FindAttrValueIn, r=marcoz

This commit is contained in:
Alexander Surkov 2015-08-13 08:43:26 -04:00
parent 8c9c798a7f
commit 1fb5af2b0c

View File

@ -47,10 +47,7 @@ filters::GetRow(Accessible* aAccessible)
uint32_t
filters::GetCell(Accessible* aAccessible)
{
a11y::role role = aAccessible->Role();
return role == roles::CELL || role == roles::GRID_CELL ||
role == roles::ROWHEADER || role == roles::COLUMNHEADER ?
eMatch : eSkipSubtree;
return aAccessible->IsTableCell() ? eMatch : eSkipSubtree;
}
uint32_t