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 2b11d48670b148fad2330a31a67ba95c030d952d..f28b178c1692aceb858e68995ca4be069f16768c 100644 |
--- a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp |
+++ b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp |
@@ -1531,7 +1531,7 @@ void CompositedLayerMapping::registerScrollingLayers() { |
// 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.layoutObject().style()->canContainFixedPositionObjects() && |
+ m_owningLayer.layoutObject().canContainFixedPositionObjects() && |
!m_owningLayer.isRootLayer(); |
scrollingCoordinator->setLayerIsContainerForFixedPositionLayers( |
m_graphicsLayer.get(), isContainer); |