| Index: sky/engine/core/rendering/RenderLayer.cpp
|
| diff --git a/sky/engine/core/rendering/RenderLayer.cpp b/sky/engine/core/rendering/RenderLayer.cpp
|
| index 1b896c4fa5ef8c5374224b289daa06f166c9eb8f..03f52f339d52bed5ccd1ea1c2f827b4651b38c35 100644
|
| --- a/sky/engine/core/rendering/RenderLayer.cpp
|
| +++ b/sky/engine/core/rendering/RenderLayer.cpp
|
| @@ -51,7 +51,6 @@
|
| #include "core/frame/LocalFrame.h"
|
| #include "core/frame/Settings.h"
|
| #include "core/page/Page.h"
|
| -#include "core/page/scrolling/ScrollingCoordinator.h"
|
| #include "core/rendering/FilterEffectRenderer.h"
|
| #include "core/rendering/HitTestRequest.h"
|
| #include "core/rendering/HitTestResult.h"
|
| @@ -127,11 +126,6 @@ RenderLayer::RenderLayer(RenderLayerModelObject* renderer, LayerType type)
|
|
|
| RenderLayer::~RenderLayer()
|
| {
|
| - if (renderer()->frame() && renderer()->frame()->page()) {
|
| - if (ScrollingCoordinator* scrollingCoordinator = renderer()->frame()->page()->scrollingCoordinator())
|
| - scrollingCoordinator->willDestroyRenderLayer(this);
|
| - }
|
| -
|
| removeFilterInfoIfNeeded();
|
|
|
| if (groupedMapping()) {
|
| @@ -2334,18 +2328,6 @@ GraphicsLayer* RenderLayer::graphicsLayerBacking() const
|
| }
|
| }
|
|
|
| -GraphicsLayer* RenderLayer::graphicsLayerBackingForScrolling() const
|
| -{
|
| - switch (compositingState()) {
|
| - case NotComposited:
|
| - return 0;
|
| - case PaintsIntoGroupedBacking:
|
| - return groupedMapping()->squashingLayer();
|
| - default:
|
| - return compositedLayerMapping()->scrollingContentsLayer() ? compositedLayerMapping()->scrollingContentsLayer() : compositedLayerMapping()->mainGraphicsLayer();
|
| - }
|
| -}
|
| -
|
| CompositedLayerMapping* RenderLayer::ensureCompositedLayerMapping()
|
| {
|
| if (!m_compositedLayerMapping) {
|
|
|