| Index: sky/engine/core/rendering/compositing/RenderLayerCompositor.cpp
|
| diff --git a/sky/engine/core/rendering/compositing/RenderLayerCompositor.cpp b/sky/engine/core/rendering/compositing/RenderLayerCompositor.cpp
|
| index a8701d65c4a1c4ff67edc03ccba92a6da7ccc7b2..4103ac6ebf9e8dd0de771c4a23dc089e1056fb3a 100644
|
| --- a/sky/engine/core/rendering/compositing/RenderLayerCompositor.cpp
|
| +++ b/sky/engine/core/rendering/compositing/RenderLayerCompositor.cpp
|
| @@ -317,12 +317,6 @@ bool RenderLayerCompositor::allocateOrClearCompositedLayerMapping(RenderLayer* l
|
|
|
| layer->ensureCompositedLayerMapping();
|
| compositedLayerMappingChanged = true;
|
| -
|
| - // At this time, the ScrollingCooridnator only supports the top-level frame.
|
| - if (layer->isRootLayer()) {
|
| - if (ScrollingCoordinator* scrollingCoordinator = this->scrollingCoordinator())
|
| - scrollingCoordinator->frameViewRootLayerDidChange(m_renderView.frameView());
|
| - }
|
| break;
|
| case RemoveOwnCompositedLayerMapping:
|
| // PutInSquashingLayer means you might have to remove the composited layer mapping first.
|
| @@ -351,13 +345,6 @@ bool RenderLayerCompositor::allocateOrClearCompositedLayerMapping(RenderLayer* l
|
| if (compositedLayerMappingChanged)
|
| layer->clipper().clearClipRectsIncludingDescendants(PaintingClipRects);
|
|
|
| - // If a fixed position layer gained/lost a compositedLayerMapping or the reason not compositing it changed,
|
| - // the scrolling coordinator needs to recalculate whether it can do fast scrolling.
|
| - if (compositedLayerMappingChanged) {
|
| - if (ScrollingCoordinator* scrollingCoordinator = this->scrollingCoordinator())
|
| - scrollingCoordinator->frameViewFixedObjectsDidChange(m_renderView.frameView());
|
| - }
|
| -
|
| return compositedLayerMappingChanged;
|
| }
|
|
|
|
|