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

Unified Diff: third_party/WebKit/Source/core/layout/compositing/CompositingLayerAssigner.h

Issue 2393673004: reflow comments in core/layout/compositing,core/observer (Closed)
Patch Set: comments (heh!) 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/layout/compositing/CompositingLayerAssigner.h
diff --git a/third_party/WebKit/Source/core/layout/compositing/CompositingLayerAssigner.h b/third_party/WebKit/Source/core/layout/compositing/CompositingLayerAssigner.h
index 2310316d682bf05083316c07113dff27c62b6b63..99ca1c23e3c1abdcff49601cf01077fbdb4f02a4 100644
--- a/third_party/WebKit/Source/core/layout/compositing/CompositingLayerAssigner.h
+++ b/third_party/WebKit/Source/core/layout/compositing/CompositingLayerAssigner.h
@@ -68,23 +68,27 @@ class CompositingLayerAssigner {
bool hasNewCompositedPaintLayerMapping,
Vector<PaintLayer*>& layersNeedingPaintInvalidation);
- // The most recent composited backing that the layer should squash onto if needed.
+ // The most recent composited backing that the layer should squash onto if
+ // needed.
CompositedLayerMapping* mostRecentMapping;
bool hasMostRecentMapping;
- // Whether all Layers in the stacking subtree rooted at the most recent mapping's
- // owning layer have had CompositedLayerMappings assigned. Layers cannot squash into a
- // CompositedLayerMapping owned by a stacking ancestor, since this changes paint order.
+ // Whether all Layers in the stacking subtree rooted at the most recent
+ // mapping's owning layer have had CompositedLayerMappings assigned. Layers
+ // cannot squash into a CompositedLayerMapping owned by a stacking ancestor,
+ // since this changes paint order.
bool haveAssignedBackingsToEntireSquashingLayerSubtree;
- // Counter that tracks what index the next Layer would be if it gets squashed to the current squashing layer.
+ // Counter that tracks what index the next Layer would be if it gets
+ // squashed to the current squashing layer.
size_t nextSquashedLayerIndex;
// The absolute bounding rect of all the squashed layers.
IntRect boundingRect;
- // This is simply the sum of the areas of the squashed rects. This can be very skewed if the rects overlap,
- // but should be close enough to drive a heuristic.
+ // This is simply the sum of the areas of the squashed rects. This can be
+ // very skewed if the rects overlap, but should be close enough to drive a
+ // heuristic.
uint64_t totalAreaOfSquashedRects;
};

Powered by Google App Engine
This is Rietveld 408576698