| Index: Source/core/rendering/RenderLayer.cpp
|
| diff --git a/Source/core/rendering/RenderLayer.cpp b/Source/core/rendering/RenderLayer.cpp
|
| index 0c96ff82099b9f86c34c3e68d174f50d1d64498b..206c31d6b9e8e7ddb81bab066ea16898e34079e5 100644
|
| --- a/Source/core/rendering/RenderLayer.cpp
|
| +++ b/Source/core/rendering/RenderLayer.cpp
|
| @@ -658,7 +658,7 @@ void RenderLayer::updateLayerPositionsAfterScroll(RenderGeometryMap* geometryMap
|
| // If we have no visible content and no visible descendants, there is no point recomputing
|
| // our rectangles as they will be empty. If our visibility changes, we are expected to
|
| // recompute all our positions anyway.
|
| - if (!m_hasVisibleDescendant && !m_hasVisibleContent)
|
| + if (subtreeIsInvisible())
|
| return;
|
|
|
| bool positionChanged = updateLayerPosition();
|
|
|