| Index: sky/engine/core/rendering/compositing/CompositedLayerMapping.cpp
|
| diff --git a/sky/engine/core/rendering/compositing/CompositedLayerMapping.cpp b/sky/engine/core/rendering/compositing/CompositedLayerMapping.cpp
|
| index 9c7af6701cc3f65ddd6eb6ec04f8568672bbbb57..6f369d6367e5d5f457bcd9c713a128774f41ebc6 100644
|
| --- a/sky/engine/core/rendering/compositing/CompositedLayerMapping.cpp
|
| +++ b/sky/engine/core/rendering/compositing/CompositedLayerMapping.cpp
|
| @@ -652,7 +652,6 @@ void CompositedLayerMapping::updateGraphicsLayerGeometry(const RenderLayer* comp
|
| updateShouldFlattenTransform();
|
| updateChildrenTransform();
|
| updateScrollParent(compositor()->preferCompositingToLCDTextEnabled() ? m_owningLayer.scrollParent() : 0);
|
| - registerScrollingLayers();
|
|
|
| updateCompositingReasons();
|
| }
|
| @@ -919,23 +918,6 @@ void CompositedLayerMapping::updateBackgroundLayerGeometry(const FloatSize& rela
|
| m_backgroundLayer->setOffsetFromRenderer(m_graphicsLayer->offsetFromRenderer());
|
| }
|
|
|
| -void CompositedLayerMapping::registerScrollingLayers()
|
| -{
|
| - // FIXME(sky): Remove this whole function. I think this doesn't do anything now that we don't support position:fixed.
|
| -
|
| - // Register fixed position layers and their containers with the scrolling coordinator.
|
| - ScrollingCoordinator* scrollingCoordinator = scrollingCoordinatorFromLayer(m_owningLayer);
|
| - if (!scrollingCoordinator)
|
| - return;
|
| -
|
| - // Page scale is applied as a transform on the root render view layer. Because the scroll
|
| - // layer is further up in the hierarchy, we need to avoid marking the root render view
|
| - // 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(childForSuperlayers(), isContainer);
|
| -}
|
| -
|
| void CompositedLayerMapping::updateInternalHierarchy()
|
| {
|
| // m_foregroundLayer has to be inserted in the correct order with child layers,
|
|
|