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

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

Issue 2392443009: reflow comments in core/paint (Closed)
Patch Set: Created 4 years, 2 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/TableCellPainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/TableCellPainter.cpp b/third_party/WebKit/Source/core/paint/TableCellPainter.cpp
index 8d3abcbdc366c1b2c359464ff94dc0427d81046c..ec772402c33a84df07a352337fdd93e55a06a8e5 100644
--- a/third_party/WebKit/Source/core/paint/TableCellPainter.cpp
+++ b/third_party/WebKit/Source/core/paint/TableCellPainter.cpp
@@ -109,7 +109,8 @@ void TableCellPainter::paintCollapsedBorders(
int leftWidth = leftBorderValue.width();
int rightWidth = rightBorderValue.width();
- // Adjust our x/y/width/height so that we paint the collapsed borders at the correct location.
+ // Adjust our x/y/width/height so that we paint the collapsed borders at the
+ // correct location.
LayoutRect paintRect =
paintRectNotIncludingVisualOverflow(adjustedPaintOffset);
IntRect borderRect = pixelSnappedIntRect(
@@ -128,8 +129,8 @@ void TableCellPainter::paintCollapsedBorders(
static_cast<DisplayItem::Type>(displayItemType), borderRect);
Color cellColor = m_layoutTableCell.resolveColor(CSSPropertyColor);
- // We never paint diagonals at the joins. We simply let the border with the highest
- // precedence paint on top of borders with lower precedence.
+ // We never paint diagonals at the joins. We simply let the border with the
+ // highest precedence paint on top of borders with lower precedence.
if (displayItemType & DisplayItem::TableCollapsedBorderTop) {
ObjectPainter::drawLineForBoxSide(
graphicsContext, borderRect.x(), borderRect.y(), borderRect.maxX(),

Powered by Google App Engine
This is Rietveld 408576698