| Index: sky/engine/core/rendering/RenderLayer.cpp
|
| diff --git a/sky/engine/core/rendering/RenderLayer.cpp b/sky/engine/core/rendering/RenderLayer.cpp
|
| index 2ffe2e31e1722ba118d989c45f9808d335989809..b020b23408ff5b39a9c8d6151bca5f78baad63d8 100644
|
| --- a/sky/engine/core/rendering/RenderLayer.cpp
|
| +++ b/sky/engine/core/rendering/RenderLayer.cpp
|
| @@ -1641,29 +1641,6 @@ RenderLayer* RenderLayer::hitTestChildren(ChildrenIteration childrentoVisit, Ren
|
| return resultLayer;
|
| }
|
|
|
| -void RenderLayer::addBlockSelectionGapsBounds(const LayoutRect& bounds)
|
| -{
|
| - m_blockSelectionGapsBounds.unite(enclosingIntRect(bounds));
|
| -}
|
| -
|
| -void RenderLayer::clearBlockSelectionGapsBounds()
|
| -{
|
| - m_blockSelectionGapsBounds = IntRect();
|
| - for (RenderLayer* child = firstChild(); child; child = child->nextSibling())
|
| - child->clearBlockSelectionGapsBounds();
|
| -}
|
| -
|
| -IntRect RenderLayer::blockSelectionGapsBounds() const
|
| -{
|
| - if (!renderer()->isRenderBlock())
|
| - return IntRect();
|
| -
|
| - RenderBlock* renderBlock = toRenderBlock(renderer());
|
| - LayoutRect gapRects = renderBlock->selectionGapRectsForPaintInvalidation(renderBlock);
|
| -
|
| - return pixelSnappedIntRect(gapRects);
|
| -}
|
| -
|
| bool RenderLayer::intersectsDamageRect(const LayoutRect& layerBounds, const LayoutRect& damageRect, const RenderLayer* rootLayer, const LayoutPoint* offsetFromRoot) const
|
| {
|
| // Always examine the canvas and the root.
|
|
|