Index: third_party/WebKit/Source/modules/accessibility/AXTable.cpp |
diff --git a/third_party/WebKit/Source/modules/accessibility/AXTable.cpp b/third_party/WebKit/Source/modules/accessibility/AXTable.cpp |
index af68f1a426918f858b4f40cd3ed23dfb4c18c28b..7252410434631e3c055f08c261b6467ffa6a5d59 100644 |
--- a/third_party/WebKit/Source/modules/accessibility/AXTable.cpp |
+++ b/third_party/WebKit/Source/modules/accessibility/AXTable.cpp |
@@ -203,7 +203,8 @@ bool AXTable::isDataTable() const { |
int headersInFirstColumnCount = 0; |
for (int row = 0; row < numRows; ++row) { |
int headersInFirstRowCount = 0; |
- for (int col = 0; col < numCols; ++col) { |
+ int nCols = firstBody->numCols(row); |
mstensho (USE GERRIT)
2017/01/20 10:02:04
Now there's both numCols and nCols, which is confu
a.suchit
2017/01/23 06:35:32
Done.
|
+ for (int col = 0; col < nCols; ++col) { |
LayoutTableCell* cell = firstBody->primaryCellAt(row, col); |
if (!cell) |
continue; |