| Index: Source/core/rendering/compositing/CompositedLayerMapping.cpp
|
| diff --git a/Source/core/rendering/compositing/CompositedLayerMapping.cpp b/Source/core/rendering/compositing/CompositedLayerMapping.cpp
|
| index 2fd9a5682244d333dfcba00f40be0b08df782168..d24625b7966422d3257c5d318d52c530104c7704 100644
|
| --- a/Source/core/rendering/compositing/CompositedLayerMapping.cpp
|
| +++ b/Source/core/rendering/compositing/CompositedLayerMapping.cpp
|
| @@ -974,7 +974,7 @@ void CompositedLayerMapping::registerScrollingLayers()
|
| // layer as a container.
|
| bool isContainer = m_owningLayer.hasTransform() && !m_owningLayer.isRootLayer();
|
| // FIXME: we should make certain that childForSuperLayers will never be the m_squashingContainmentLayer here
|
| - scrollingCoordinator->setLayerIsContainerForFixedPositionLayers(localRootForOwningLayer(), isContainer);
|
| + scrollingCoordinator->setLayerIsContainerForFixedPositionLayers(childForSuperlayers(), isContainer);
|
| }
|
|
|
| void CompositedLayerMapping::updateInternalHierarchy()
|
| @@ -1857,20 +1857,15 @@ GraphicsLayer* CompositedLayerMapping::parentForSublayers() const
|
| return m_graphicsLayer.get();
|
| }
|
|
|
| -GraphicsLayer* CompositedLayerMapping::localRootForOwningLayer() const
|
| -{
|
| - if (m_ancestorClippingLayer)
|
| - return m_ancestorClippingLayer.get();
|
| -
|
| - return m_graphicsLayer.get();
|
| -}
|
| -
|
| GraphicsLayer* CompositedLayerMapping::childForSuperlayers() const
|
| {
|
| if (m_squashingContainmentLayer)
|
| return m_squashingContainmentLayer.get();
|
|
|
| - return localRootForOwningLayer();
|
| + if (m_ancestorClippingLayer)
|
| + return m_ancestorClippingLayer.get();
|
| +
|
| + return m_graphicsLayer.get();
|
| }
|
|
|
| GraphicsLayer* CompositedLayerMapping::layerForChildrenTransform() const
|
| @@ -1915,7 +1910,6 @@ bool CompositedLayerMapping::updateRequiresOwnBackingStoreForIntrinsicReasons()
|
| if (paintsIntoCompositedAncestor() != previousPaintsIntoCompositedAncestor)
|
| compositor()->paintInvalidationOnCompositingChange(&m_owningLayer);
|
|
|
| -
|
| return m_requiresOwnBackingStoreForIntrinsicReasons != previousRequiresOwnBackingStoreForIntrinsicReasons;
|
| }
|
|
|
|
|