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; |