Index: third_party/WebKit/Source/core/paint/TableSectionPainter.cpp |
diff --git a/third_party/WebKit/Source/core/paint/TableSectionPainter.cpp b/third_party/WebKit/Source/core/paint/TableSectionPainter.cpp |
index d348056c056330a6e36ebb69365361044a425d49..952a6e6358275811eb0b7d1a5a88431303021741 100644 |
--- a/third_party/WebKit/Source/core/paint/TableSectionPainter.cpp |
+++ b/third_party/WebKit/Source/core/paint/TableSectionPainter.cpp |
@@ -56,8 +56,7 @@ void TableSectionPainter::paintRepeatingHeaderGroup( |
// The header may have a pagination strut before it so we need to account for that when establishing its position. |
LayoutUnit headerGroupOffset = table->pageLogicalOffset(); |
if (LayoutTableRow* row = m_layoutTableSection.firstRow()) |
- headerGroupOffset += m_layoutTableSection.paginationStrutForRow( |
- row, table->pageLogicalOffset()); |
+ headerGroupOffset += row->paginationStrut(); |
LayoutUnit offsetToNextPage = |
pageHeight - intMod(headerGroupOffset, pageHeight); |
paginationOffset.move(0, offsetToNextPage.toInt()); |