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

Unified Diff: third_party/WebKit/Source/core/layout/compositing/GraphicsLayerTreeBuilder.cpp

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/GraphicsLayerTreeBuilder.cpp
diff --git a/third_party/WebKit/Source/core/layout/compositing/GraphicsLayerTreeBuilder.cpp b/third_party/WebKit/Source/core/layout/compositing/GraphicsLayerTreeBuilder.cpp
index 3366f19635b7172fffdcaaa09cebeee5ea006591..13d018c8459573c3858c815ee6e327e991a3f256 100644
--- a/third_party/WebKit/Source/core/layout/compositing/GraphicsLayerTreeBuilder.cpp
+++ b/third_party/WebKit/Source/core/layout/compositing/GraphicsLayerTreeBuilder.cpp
@@ -50,9 +50,10 @@ static bool shouldAppendLayer(const PaintLayer& layer) {
}
void GraphicsLayerTreeBuilder::rebuild(PaintLayer& layer, AncestorInfo info) {
- // Make the layer compositing if necessary, and set up clipping and content layers.
- // Note that we can only do work here that is independent of whether the descendant layers
- // have been processed. computeCompositingRequirements() will already have done the paint invalidation if necessary.
+ // Make the layer compositing if necessary, and set up clipping and content
+ // layers. Note that we can only do work here that is independent of whether
+ // the descendant layers have been processed. computeCompositingRequirements()
+ // will already have done the paint invalidation if necessary.
layer.stackingNode()->updateLayerListsIfNeeded();
@@ -60,8 +61,9 @@ void GraphicsLayerTreeBuilder::rebuild(PaintLayer& layer, AncestorInfo info) {
CompositedLayerMapping* currentCompositedLayerMapping =
layer.compositedLayerMapping();
- // If this layer has a compositedLayerMapping, then that is where we place subsequent children GraphicsLayers.
- // Otherwise children continue to append to the child list of the enclosing layer.
+ // If this layer has a compositedLayerMapping, then that is where we place
+ // subsequent children GraphicsLayers. Otherwise children continue to append
+ // to the child list of the enclosing layer.
GraphicsLayerVector layerChildren;
AncestorInfo infoForChildren(info);
if (hasCompositedLayerMapping) {
@@ -79,7 +81,8 @@ void GraphicsLayerTreeBuilder::rebuild(PaintLayer& layer, AncestorInfo info) {
while (PaintLayerStackingNode* curNode = iterator.next())
rebuild(*curNode->layer(), infoForChildren);
- // If a negative z-order child is compositing, we get a foreground layer which needs to get parented.
+ // If a negative z-order child is compositing, we get a foreground layer
+ // which needs to get parented.
if (hasCompositedLayerMapping &&
currentCompositedLayerMapping->foregroundLayer())
infoForChildren.childLayersOfEnclosingCompositedLayer->append(

Powered by Google App Engine
This is Rietveld 408576698