Index: Source/modules/accessibility/AXTableColumn.cpp |
diff --git a/Source/modules/accessibility/AXTableColumn.cpp b/Source/modules/accessibility/AXTableColumn.cpp |
index ee07161faaadc1bc3e492a4bdc99167a996e5d3d..aec01b26afaf5f8c9d650eb3077c88066c88ef92 100644 |
--- a/Source/modules/accessibility/AXTableColumn.cpp |
+++ b/Source/modules/accessibility/AXTableColumn.cpp |
@@ -90,7 +90,7 @@ void AXTableColumn::headerObjectsForColumn(AccessibilityChildrenVector& headers) |
continue; |
AXObject* cell = axObjectCache()->getOrCreate(layoutCell->node()); |
- if (!cell) |
+ if (!cell || !cell->isTableCell()) |
continue; |
if (toAXTableCell(cell)->scanToDecideHeaderRole() == ColumnHeaderRole) |