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

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

Issue 2884573002: Replace LayoutTableCell::AbsoluteColumnIndex() with EffectiveColumnIndex()
Patch Set: - Created 3 years, 7 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
« no previous file with comments | « third_party/WebKit/Source/modules/accessibility/AXTableCell.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/modules/accessibility/AXTableColumn.cpp
diff --git a/third_party/WebKit/Source/modules/accessibility/AXTableColumn.cpp b/third_party/WebKit/Source/modules/accessibility/AXTableColumn.cpp
index 5f8563ac9976bc152b256dc5b3f987c7e625bd31..7ddc9a699affbcb7db9891544d866ef921966dd4 100644
--- a/third_party/WebKit/Source/modules/accessibility/AXTableColumn.cpp
+++ b/third_party/WebKit/Source/modules/accessibility/AXTableColumn.cpp
@@ -77,7 +77,7 @@ void AXTableColumn::HeaderObjectsForColumn(AXObjectVector& headers) {
LayoutTableSection* table_section = table->TopSection();
for (; table_section;
table_section = table->SectionBelow(table_section, kSkipEmptySections)) {
- unsigned num_cols = table_section->NumEffectiveColumns();
+ unsigned num_cols = table_section->MaxNumEffectiveColumnsOfRows();
if (column_index_ >= num_cols)
continue;
unsigned num_rows = table_section->NumRows();
« no previous file with comments | « third_party/WebKit/Source/modules/accessibility/AXTableCell.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698