Chromium Code Reviews| Index: Source/modules/accessibility/AXTableCell.cpp |
| diff --git a/Source/modules/accessibility/AXTableCell.cpp b/Source/modules/accessibility/AXTableCell.cpp |
| index 948dde3fba5dc3e782a00ff61a463a90909f9e05..790164c0aca2b9b5e6f6d5c15779ab5d4f333dbb 100644 |
| --- a/Source/modules/accessibility/AXTableCell.cpp |
| +++ b/Source/modules/accessibility/AXTableCell.cpp |
| @@ -196,8 +196,8 @@ void AXTableCell::columnIndexRange(pair<unsigned, unsigned>& columnRange) |
| return; |
| LayoutTableCell* cell = toLayoutTableCell(m_renderer); |
| - columnRange.first = cell->col(); |
| - columnRange.second = cell->colSpan(); |
| + columnRange.first = cell->table()->colToEffCol(cell->col()); |
|
dmazzoni
2015/02/13 07:07:34
Do we need to null-check any of these?
Please loo
|
| + columnRange.second = cell->table()->colToEffCol(cell->col() + cell->colSpan()) - columnRange.first; |
| } |
| SortDirection AXTableCell::sortDirection() const |