Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(675)

Unified Diff: third_party/WebKit/Source/core/paint/TableSectionPainter.cpp

Issue 2701993002: DO NOT COMMIT: Results of running new (proposed) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
« no previous file with comments | « third_party/WebKit/Source/core/paint/TableCellPainterTest.cpp ('k') | third_party/WebKit/Source/core/paint/ThemePainterMac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698