| Index: sky/engine/core/rendering/RenderLayerScrollableArea.cpp
|
| diff --git a/sky/engine/core/rendering/RenderLayerScrollableArea.cpp b/sky/engine/core/rendering/RenderLayerScrollableArea.cpp
|
| index afe3fced9991b8f19b12e955b0289539d161bf13..37bf7b37d2abfaacb81f4a88fd5ae96f8ffb51ab 100644
|
| --- a/sky/engine/core/rendering/RenderLayerScrollableArea.cpp
|
| +++ b/sky/engine/core/rendering/RenderLayerScrollableArea.cpp
|
| @@ -106,28 +106,6 @@ HostWindow* RenderLayerScrollableArea::hostWindow() const
|
| return nullptr;
|
| }
|
|
|
| -// FIXME(sky): Remove
|
| -void RenderLayerScrollableArea::invalidateScrollbarRect(Scrollbar* scrollbar, const IntRect& rect)
|
| -{
|
| - IntRect scrollRect = rect;
|
| - // If we are not yet inserted into the tree, there is no need to issue paint invaldiations.
|
| - if (!box().parent())
|
| - return;
|
| -
|
| - if (scrollbar == m_vBar.get())
|
| - scrollRect.move(verticalScrollbarStart(0, box().width()), box().borderTop());
|
| - else
|
| - scrollRect.move(horizontalScrollbarStart(0), box().height() - box().borderBottom() - scrollbar->height());
|
| -
|
| - if (scrollRect.isEmpty())
|
| - return;
|
| -
|
| - IntRect intRect = pixelSnappedIntRect(scrollRect);
|
| -
|
| - if (box().frameView()->isInPerformLayout())
|
| - addScrollbarDamage(scrollbar, intRect);
|
| -}
|
| -
|
| bool RenderLayerScrollableArea::isActive() const
|
| {
|
| Page* page = box().frame()->page();
|
|
|