| Index: Source/core/rendering/compositing/GraphicsLayerUpdater.cpp
|
| diff --git a/Source/core/rendering/compositing/GraphicsLayerUpdater.cpp b/Source/core/rendering/compositing/GraphicsLayerUpdater.cpp
|
| index ade274a786d3f3757a68696ef1fb64f4b5bf9f45..2b4c0ceb9c15fef4380f2f67eed8d688f249b549 100644
|
| --- a/Source/core/rendering/compositing/GraphicsLayerUpdater.cpp
|
| +++ b/Source/core/rendering/compositing/GraphicsLayerUpdater.cpp
|
| @@ -62,6 +62,11 @@ public:
|
| return layer.stackingNode()->isNormalFlowOnly() ? m_compositingAncestor : m_compositingStackingContext;
|
| }
|
|
|
| + const RenderLayer* compositingStackingContext() const
|
| + {
|
| + return m_compositingStackingContext;
|
| + }
|
| +
|
| private:
|
| const RenderLayer* m_compositingStackingContext;
|
| const RenderLayer* m_compositingAncestor;
|
| @@ -109,7 +114,7 @@ void GraphicsLayerUpdater::updateRecursive(RenderLayer& layer, UpdateType update
|
| if (mapping->updateGraphicsLayerConfiguration())
|
| m_needsRebuildTree = true;
|
|
|
| - mapping->updateGraphicsLayerGeometry(compositingContainer, layersNeedingPaintInvalidation);
|
| + mapping->updateGraphicsLayerGeometry(compositingContainer, context.compositingStackingContext(), layersNeedingPaintInvalidation);
|
|
|
| if (mapping->hasUnpositionedOverflowControlsLayers())
|
| layer.scrollableArea()->positionOverflowControls(IntSize());
|
|
|