Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(719)

Unified Diff: third_party/WebKit/Source/modules/accessibility/AXTable.cpp

Issue 2630723002: Fix blink_perf.paint regression about tables (Closed)
Patch Set: Issues fixed in patch set 4 Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698