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

Unified Diff: third_party/WebKit/Source/core/paint/FilterPainter.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/FilterPainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/FilterPainter.cpp b/third_party/WebKit/Source/core/paint/FilterPainter.cpp
index 25047bd47b5d2f80ebf4abdf7d8b317c7e5ed8d7..d5cfa4116595df753d159aaffdf38354844d4b6b 100644
--- a/third_party/WebKit/Source/core/paint/FilterPainter.cpp
+++ b/third_party/WebKit/Source/core/paint/FilterPainter.cpp
@@ -44,8 +44,10 @@ FilterPainter::FilterPainter(PaintLayer& layer,
return;
// We'll handle clipping to the dirty rect before filter rasterization.
- // Filter processing will automatically expand the clip rect and the offscreen to accommodate any filter outsets.
- // FIXME: It is incorrect to just clip to the damageRect here once multiple fragments are involved.
+ // Filter processing will automatically expand the clip rect and the offscreen
+ // to accommodate any filter outsets.
+ // FIXME: It is incorrect to just clip to the damageRect here once multiple
+ // fragments are involved.
// Subsequent code should not clip to the dirty rect, since we've already
// done it above, and doing it later will defeat the outsets.
@@ -71,7 +73,8 @@ FilterPainter::FilterPainter(PaintLayer& layer,
LayoutRect visualBounds(
layer.physicalBoundingBoxIncludingStackingChildren(offsetFromRoot));
if (layer.enclosingPaginationLayer()) {
- // Filters are set up before pagination, so we need to make the bounding box visual on our own.
+ // Filters are set up before pagination, so we need to make the bounding
+ // box visual on our own.
visualBounds.moveBy(-offsetFromRoot);
layer.convertFromFlowThreadToVisualBoundingBoxInAncestor(
paintingInfo.rootLayer, visualBounds);
« no previous file with comments | « third_party/WebKit/Source/core/paint/FilterEffectBuilder.cpp ('k') | third_party/WebKit/Source/core/paint/FramePainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698