Index: third_party/WebKit/Source/modules/accessibility/AXTableCell.cpp |
diff --git a/third_party/WebKit/Source/modules/accessibility/AXTableCell.cpp b/third_party/WebKit/Source/modules/accessibility/AXTableCell.cpp |
index 8d701aebe1681b01122f9aeb8dbbd1ada6de9453..bfb109479753d53b991f81fa6c4db5c6737bc77b 100644 |
--- a/third_party/WebKit/Source/modules/accessibility/AXTableCell.cpp |
+++ b/third_party/WebKit/Source/modules/accessibility/AXTableCell.cpp |
@@ -212,11 +212,9 @@ void AXTableCell::ColumnIndexRange( |
return; |
LayoutTableCell* cell = ToLayoutTableCell(layout_object_); |
- column_range.first = cell->Table()->AbsoluteColumnToEffectiveColumn( |
- cell->AbsoluteColumnIndex()); |
- column_range.second = cell->Table()->AbsoluteColumnToEffectiveColumn( |
- cell->AbsoluteColumnIndex() + cell->ColSpan()) - |
- column_range.first; |
+ column_range.first = cell->EffectiveColumnIndex(); |
+ column_range.second = |
+ cell->EffectiveColumnIndexOfCellAfter() - column_range.first; |
} |
SortDirection AXTableCell::GetSortDirection() const { |