| Index: Source/WebCore/page/scrolling/ScrollingCoordinator.cpp
|
| diff --git a/Source/WebCore/page/scrolling/ScrollingCoordinator.cpp b/Source/WebCore/page/scrolling/ScrollingCoordinator.cpp
|
| index b0fe6878aebcef7a337ecd758ca4540aea95367a..b2dc39baa9cac4a137fc508ce47b68db1237ab34 100644
|
| --- a/Source/WebCore/page/scrolling/ScrollingCoordinator.cpp
|
| +++ b/Source/WebCore/page/scrolling/ScrollingCoordinator.cpp
|
| @@ -122,6 +122,12 @@ void ScrollingCoordinator::frameViewLayoutUpdated(FrameView* frameView)
|
| scrollLayer->setBounds(frameView->contentsSize());
|
| }
|
|
|
| +void ScrollingCoordinator::fixedRootBackgroundLayerDidChange(GraphicsLayer* backgroundLayer)
|
| +{
|
| + if (WebLayer* webBackgroundLayer = scrollingWebLayerForGraphicsLayer(backgroundLayer))
|
| + webBackgroundLayer->setPositionConstraint(WebLayerPositionConstraint::fixedPosition(false, false));
|
| +}
|
| +
|
| void ScrollingCoordinator::setLayerIsContainerForFixedPositionLayers(GraphicsLayer* layer, bool enable)
|
| {
|
| if (WebLayer* scrollableLayer = scrollingWebLayerForGraphicsLayer(layer))
|
|
|