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

Unified Diff: third_party/WebKit/Source/core/paint/PaintInvalidator.h

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/PaintInvalidator.h
diff --git a/third_party/WebKit/Source/core/paint/PaintInvalidator.h b/third_party/WebKit/Source/core/paint/PaintInvalidator.h
index df442eef41989feb98880920e2a8728e2714f32c..68c7e5aa0312ec396be16cb188cd2ba363912e4a 100644
--- a/third_party/WebKit/Source/core/paint/PaintInvalidator.h
+++ b/third_party/WebKit/Source/core/paint/PaintInvalidator.h
@@ -33,8 +33,8 @@ struct PaintInvalidatorContext {
parentContext.paintInvalidationContainerForStackedContents),
paintingLayer(parentContext.paintingLayer) {}
- // This method is temporary to adapt PaintInvalidatorContext and the legacy PaintInvalidationState
- // for code shared by old code and new code.
+ // This method is temporary to adapt PaintInvalidatorContext and the legacy
+ // PaintInvalidationState for code shared by old code and new code.
virtual void mapLocalRectToPaintInvalidationBacking(const LayoutObject&,
LayoutRect&) const;
@@ -45,21 +45,24 @@ struct PaintInvalidatorContext {
ForcedSubtreeInvalidationRectUpdate = 1 << 1,
ForcedSubtreeFullInvalidation = 1 << 2,
ForcedSubtreeFullInvalidationForStackedContents = 1 << 3,
- // TODO(crbug.com/637313): This is temporary before we support filters in paint property tree.
+ // TODO(crbug.com/637313): This is temporary before we support filters in
+ // paint property tree.
ForcedSubtreeSlowPathRect = 1 << 4,
};
unsigned forcedSubtreeInvalidationFlags = 0;
- // The following fields can be null only before PaintInvalidator::updateContext().
+ // The following fields can be null only before
+ // PaintInvalidator::updateContext().
// The current paint invalidation container for normal flow objects.
// It is the enclosing composited object.
const LayoutBoxModelObject* paintInvalidationContainer = nullptr;
- // The current paint invalidation container for stacked contents (stacking contexts or positioned objects).
- // It is the nearest ancestor composited object which establishes a stacking context.
- // See Source/core/paint/README.md ### PaintInvalidationState for details on how stacked contents'
- // paint invalidation containers differ.
+ // The current paint invalidation container for stacked contents (stacking
+ // contexts or positioned objects). It is the nearest ancestor composited
+ // object which establishes a stacking context. See
+ // Source/core/paint/README.md ### PaintInvalidationState for details on how
+ // stacked contents' paint invalidation containers differ.
const LayoutBoxModelObject* paintInvalidationContainerForStackedContents =
nullptr;

Powered by Google App Engine
This is Rietveld 408576698