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

Unified Diff: third_party/WebKit/Source/core/paint/FrameSetPainter.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/FrameSetPainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/FrameSetPainter.cpp b/third_party/WebKit/Source/core/paint/FrameSetPainter.cpp
index 6e3245cdfb07ebb7c6841bcdb91c28d819b1d8a1..33975e424d5ed0d451850e6a4da72e52396e4a74 100644
--- a/third_party/WebKit/Source/core/paint/FrameSetPainter.cpp
+++ b/third_party/WebKit/Source/core/paint/FrameSetPainter.cpp
@@ -28,7 +28,8 @@ void FrameSetPainter::paintColumnBorder(const PaintInfo& paintInfo,
if (!paintInfo.cullRect().intersectsCullRect(borderRect))
return;
- // FIXME: We should do something clever when borders from distinct framesets meet at a join.
+ // FIXME: We should do something clever when borders from distinct framesets
+ // meet at a join.
// Fill first.
GraphicsContext& context = paintInfo.context;
@@ -37,8 +38,8 @@ void FrameSetPainter::paintColumnBorder(const PaintInfo& paintInfo,
CSSPropertyBorderLeftColor)
: borderFillColor());
- // Now stroke the edges but only if we have enough room to paint both edges with a little
- // bit of the fill color showing through.
+ // Now stroke the edges but only if we have enough room to paint both edges
+ // with a little bit of the fill color showing through.
if (borderRect.width() >= 3) {
context.fillRect(
IntRect(borderRect.location(), IntSize(1, borderRect.height())),
@@ -51,7 +52,8 @@ void FrameSetPainter::paintColumnBorder(const PaintInfo& paintInfo,
void FrameSetPainter::paintRowBorder(const PaintInfo& paintInfo,
const IntRect& borderRect) {
- // FIXME: We should do something clever when borders from distinct framesets meet at a join.
+ // FIXME: We should do something clever when borders from distinct framesets
+ // meet at a join.
// Fill first.
GraphicsContext& context = paintInfo.context;
@@ -60,8 +62,8 @@ void FrameSetPainter::paintRowBorder(const PaintInfo& paintInfo,
CSSPropertyBorderLeftColor)
: borderFillColor());
- // Now stroke the edges but only if we have enough room to paint both edges with a little
- // bit of the fill color showing through.
+ // Now stroke the edges but only if we have enough room to paint both edges
+ // with a little bit of the fill color showing through.
if (borderRect.height() >= 3) {
context.fillRect(
IntRect(borderRect.location(), IntSize(borderRect.width(), 1)),
@@ -134,7 +136,8 @@ void FrameSetPainter::paintChildren(const PaintInfo& paintInfo,
size_t cols = m_layoutFrameSet.columns().m_sizes.size();
for (size_t r = 0; r < rows; r++) {
for (size_t c = 0; c < cols; c++) {
- // Self-painting layers are painted during the PaintLayer paint recursion, not LayoutObject.
+ // Self-painting layers are painted during the PaintLayer paint recursion,
+ // not LayoutObject.
if (!child->isBoxModelObject() ||
!toLayoutBoxModelObject(child)->hasSelfPaintingLayer())
child->paint(paintInfo, adjustedPaintOffset);
« no previous file with comments | « third_party/WebKit/Source/core/paint/FramePainter.cpp ('k') | third_party/WebKit/Source/core/paint/GridPainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698