| 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 877fbd9b69f6b9df3a9b3cc056e53a9ce512d648..4b8f0396fe5b60a997ff7d48d2b661167eb60193 100644
|
| --- a/third_party/WebKit/Source/core/paint/TableSectionPainter.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/TableSectionPainter.cpp
|
| @@ -81,14 +81,12 @@ void TableSectionPainter::paintRepeatingHeaderGroup(
|
| paintOffset.y() + totalHeightOfRows);
|
|
|
| while (paginationOffset.y() < bottomBound) {
|
| - LayoutPoint nestedOffset =
|
| - paginationOffset +
|
| - LayoutPoint(LayoutUnit(),
|
| - m_layoutTableSection.offsetForRepeatingHeader());
|
| - if (itemToPaint == PaintCollapsedBorders)
|
| - paintCollapsedSectionBorders(paintInfo, nestedOffset, currentBorderValue);
|
| - else
|
| - paintSection(paintInfo, nestedOffset);
|
| + if (itemToPaint == PaintCollapsedBorders) {
|
| + paintCollapsedSectionBorders(paintInfo, paginationOffset,
|
| + currentBorderValue);
|
| + } else {
|
| + paintSection(paintInfo, paginationOffset);
|
| + }
|
| paginationOffset.move(0, pageHeight.toInt());
|
| }
|
| }
|
|
|