| 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 0b22c83ee829b06ff19c1293f23facb57681e0b8..4296c815b4c87e1bd7a1ef41f91e6a1614a0f8d3 100644
|
| --- a/third_party/WebKit/Source/core/paint/TableSectionPainter.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/TableSectionPainter.cpp
|
| @@ -55,10 +55,11 @@ void TableSectionPainter::paintRepeatingHeaderGroup(const PaintInfo& paintInfo,
|
| paginationOffset.move(0, pageHeight * static_cast<int>((paintInfo.cullRect().m_rect.y() - paginationOffset.y()) / pageHeight));
|
| LayoutUnit bottomBound = std::min(LayoutUnit(paintInfo.cullRect().m_rect.maxY()), paintOffset.y() + table->logicalHeight());
|
| while (paginationOffset.y() < bottomBound) {
|
| + LayoutPoint nestedOffset = paginationOffset + LayoutPoint(0, m_layoutTableSection.offsetForRepeatingHeader());
|
| if (itemToPaint == PaintCollapsedBorders)
|
| - paintCollapsedSectionBorders(paintInfo, paginationOffset, currentBorderValue);
|
| + paintCollapsedSectionBorders(paintInfo, nestedOffset, currentBorderValue);
|
| else
|
| - paintSection(paintInfo, paginationOffset);
|
| + paintSection(paintInfo, nestedOffset);
|
| paginationOffset.move(0, pageHeight);
|
| }
|
| }
|
|
|