| 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 180ecc121dde266a0778060a9a852c20bc3ced4b..bf8b76f7b4dffcd910d23fbcfbd6063171c40f10 100644
|
| --- a/third_party/WebKit/Source/core/paint/TableSectionPainter.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/TableSectionPainter.cpp
|
| @@ -63,11 +63,12 @@ void TableSectionPainter::paintRepeatingHeaderGroup(
|
| paginationOffset.move(LayoutUnit(), offsetToNextPage);
|
| // Now move paginationOffset to the top of the page the cull rect starts on.
|
| if (paintInfo.cullRect().m_rect.y() > paginationOffset.y()) {
|
| - paginationOffset.move(LayoutUnit(), pageHeight *
|
| - ((paintInfo.cullRect().m_rect.y() -
|
| - paginationOffset.y()) /
|
| - pageHeight)
|
| - .toInt());
|
| + paginationOffset.move(
|
| + LayoutUnit(),
|
| + pageHeight *
|
| + ((paintInfo.cullRect().m_rect.y() - paginationOffset.y()) /
|
| + pageHeight)
|
| + .toInt());
|
| }
|
|
|
| // We only want to consider pages where we going to paint a row, so exclude
|
| @@ -195,8 +196,9 @@ void TableSectionPainter::paintCollapsedSectionBorders(
|
| unsigned col = c - 1;
|
| const LayoutTableCell* cell =
|
| m_layoutTableSection.primaryCellAt(row, col);
|
| - if (!cell || (row > dirtiedRows.start() &&
|
| - m_layoutTableSection.primaryCellAt(row - 1, col) == cell) ||
|
| + if (!cell ||
|
| + (row > dirtiedRows.start() &&
|
| + m_layoutTableSection.primaryCellAt(row - 1, col) == cell) ||
|
| (col > dirtiedColumns.start() &&
|
| m_layoutTableSection.primaryCellAt(row, col - 1) == cell))
|
| continue;
|
|
|