| 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 7891a098a51c8ec7d871f18cdaeb75ade2d33849..0fd7611bf172c0cf1dd965c6f924e60ef4b52fe5 100644
|
| --- a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
|
| @@ -1110,7 +1110,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);
|
| }
|
|
|