Chromium Code Reviews| Index: third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp |
| diff --git a/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp b/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp |
| index 6d1bf5e6804f771ffa97a4784cc174588667985c..8b8d5eb59b5ec200767c9b1e6bf21e6cebf38b88 100644 |
| --- a/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp |
| +++ b/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp |
| @@ -763,7 +763,7 @@ bool PaintLayerCompositor::canBeComposited(const PaintLayer* layer) const |
| // into the hierarchy between this layer and its children in the z-order hierarchy. |
| bool PaintLayerCompositor::clipsCompositingDescendants(const PaintLayer* layer) const |
| { |
| - return layer->hasCompositingDescendant() && layer->layoutObject()->hasClipOrOverflowClip(); |
| + return layer->hasCompositingDescendant() && layer->layoutObject()->hasOverflowClipPaintContainmentOrClip(); |
| } |
| // If an element has composited negative z-index children, those children paint in front of the |