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

Unified Diff: Source/core/rendering/compositing/RenderLayerCompositor.h

Issue 266473009: Fix & clarify some comments in compositing. Rename clippedByAncestor to more accurately (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Make conditionals clearer in shouldClipCompositedBounds Created 6 years, 8 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: Source/core/rendering/compositing/RenderLayerCompositor.h
diff --git a/Source/core/rendering/compositing/RenderLayerCompositor.h b/Source/core/rendering/compositing/RenderLayerCompositor.h
index 0d3d89899a019438b76b398ffdf32855f63399a1..b6c1ab69d4718bbd67a84871db08c17009f9c39e 100644
--- a/Source/core/rendering/compositing/RenderLayerCompositor.h
+++ b/Source/core/rendering/compositing/RenderLayerCompositor.h
@@ -114,8 +114,8 @@ public:
// (At the moment, it also has some legacy compatibility hacks.)
void updateLayerCompositingState(RenderLayer*, UpdateLayerCompositingStateOptions = Normal);
- // Whether layer's compositedLayerMapping needs a GraphicsLayer to do clipping by an ancestor (non-stacking-context parent with overflow).
- bool clippedByAncestor(const RenderLayer*) const;
+ // Returns whether this layer is clipped by another layer that is not an ancestor of the given layer in the stacking context hierarchy.
+ bool clippedByNonAncestorInStackingTree(const RenderLayer*) const;
// Whether layer's compositedLayerMapping needs a GraphicsLayer to clip z-order children of the given RenderLayer.
bool clipsCompositingDescendants(const RenderLayer*) const;

Powered by Google App Engine
This is Rietveld 408576698