Chromium Code Reviews| 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 234a2acccb25d6770620acca4ad06afb9ae118e1..2ccb3acbdc9156eb645adbc2173c22d07a1d940d 100644 |
| --- a/third_party/WebKit/Source/core/paint/TableSectionPainter.cpp |
| +++ b/third_party/WebKit/Source/core/paint/TableSectionPainter.cpp |
| @@ -71,6 +71,7 @@ void TableSectionPainter::paintRepeatingHeaderGroup( |
| LayoutUnit bottomBound = |
| std::min(LayoutUnit(paintInfo.cullRect().m_rect.maxY()), |
| paintOffset.y() + table->logicalHeight()); |
| + paginationOffset.move(0, -m_layoutTableSection.logicalTop().toInt()); |
|
mstensho (USE GERRIT)
2016/10/18 17:08:49
LayoutUnit() is cheaper than 0.
|
| while (paginationOffset.y() < bottomBound) { |
| LayoutPoint nestedOffset = |
| paginationOffset + |