| Index: third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
|
| index f5b0d5cfca1e46479a4d7e8c45396cff5d7d16f7..80735fb90db8842aa52e14ebe69b6e84d862dcf6 100644
|
| --- a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
|
| @@ -1103,7 +1103,7 @@ void CompositedLayerMapping::registerScrollingLayers()
|
| // Page scale is applied as a transform on the root layout view layer. Because the scroll
|
| // layer is further up in the hierarchy, we need to avoid marking the root layout view
|
| // layer as a container.
|
| - bool isContainer = m_owningLayer.hasTransformRelatedProperty() && !m_owningLayer.isRootLayer();
|
| + bool isContainer = m_owningLayer.layoutObject()->style()->canContainFixedPositionObjects() && !m_owningLayer.isRootLayer();
|
| // FIXME: we should make certain that childForSuperLayers will never be the m_squashingContainmentLayer here
|
| scrollingCoordinator->setLayerIsContainerForFixedPositionLayers(childForSuperlayers(), isContainer);
|
| }
|
|
|