| Index: sky/engine/core/rendering/RenderLayerClipper.cpp
|
| diff --git a/sky/engine/core/rendering/RenderLayerClipper.cpp b/sky/engine/core/rendering/RenderLayerClipper.cpp
|
| index d75d90cad867477757b2c04ecddb0ae0b0164726..1bb3f42eb84cb6078be9e6d65cda62dd19a5939f 100644
|
| --- a/sky/engine/core/rendering/RenderLayerClipper.cpp
|
| +++ b/sky/engine/core/rendering/RenderLayerClipper.cpp
|
| @@ -322,11 +322,7 @@ void RenderLayerClipper::getOrCalculateClipRects(const ClipRectsContext& context
|
| RenderLayer* RenderLayerClipper::clippingRootForPainting() const
|
| {
|
| const RenderLayer* current = m_renderer.layer();
|
| - // FIXME: getting rid of current->hasCompositedLayerMapping() here breaks the
|
| - // compositing/backing/no-backing-for-clip.html layout test, because there is a
|
| - // "composited but paints into ancestor" layer involved. However, it doesn't make sense that
|
| - // that check would be appropriate here but not inside the while loop below.
|
| - if (current->isPaintInvalidationContainer() || current->hasCompositedLayerMapping())
|
| + if (current->isPaintInvalidationContainer())
|
| return const_cast<RenderLayer*>(current);
|
|
|
| while (current) {
|
|
|