diff options
Diffstat (limited to 'WebCore/rendering')
-rw-r--r-- | WebCore/rendering/RenderLayerCompositor.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/WebCore/rendering/RenderLayerCompositor.cpp b/WebCore/rendering/RenderLayerCompositor.cpp index 654f6e6..0877468 100644 --- a/WebCore/rendering/RenderLayerCompositor.cpp +++ b/WebCore/rendering/RenderLayerCompositor.cpp @@ -591,13 +591,12 @@ void RenderLayerCompositor::computeCompositingRequirements(RenderLayer* layer, O if (layer->isFixed()) compositingState.m_fixedSibling = true; - if (!willBeComposited && compositingState.m_fixedSibling) + if (!willBeComposited && compositingState.m_fixedSibling) { layer->setMustOverlapCompositedLayers(true); - - if (willBeComposited || compositingState.m_fixedSibling) { -#else - if (willBeComposited) { + willBeComposited = true; + } #endif + if (willBeComposited) { // Tell the parent it has compositing descendants. compositingState.m_subtreeIsCompositing = true; // This layer now acts as the ancestor for kids. |