Index: third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp |
diff --git a/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp b/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp |
index 0d04c9f79325d85d22f779abded094152e065bba..aa46e43940742b229900fa201650938a29b61626 100644 |
--- a/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp |
+++ b/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp |
@@ -1040,7 +1040,7 @@ |
if (ScrollingCoordinator* scrollingCoordinator = this->scrollingCoordinator()) |
scrollingCoordinator->scrollableAreaScrollbarLayerDidChange(m_layoutView.frameView(), HorizontalScrollbar); |
if (Scrollbar* horizontalScrollbar = m_layoutView.frameView()->horizontalScrollbar()) |
- m_layoutView.frameView()->setScrollbarNeedsPaintInvalidation(horizontalScrollbar); |
+ m_layoutView.frameView()->invalidateScrollbar(horizontalScrollbar, IntRect(IntPoint(0, 0), horizontalScrollbar->frameRect().size())); |
} |
if (m_layerForVerticalScrollbar) { |
@@ -1049,12 +1049,12 @@ |
if (ScrollingCoordinator* scrollingCoordinator = this->scrollingCoordinator()) |
scrollingCoordinator->scrollableAreaScrollbarLayerDidChange(m_layoutView.frameView(), VerticalScrollbar); |
if (Scrollbar* verticalScrollbar = m_layoutView.frameView()->verticalScrollbar()) |
- m_layoutView.frameView()->setScrollbarNeedsPaintInvalidation(verticalScrollbar); |
+ m_layoutView.frameView()->invalidateScrollbar(verticalScrollbar, IntRect(IntPoint(0, 0), verticalScrollbar->frameRect().size())); |
} |
if (m_layerForScrollCorner) { |
m_layerForScrollCorner = nullptr; |
- m_layoutView.frameView()->setScrollCornerNeedsPaintInvalidation(); |
+ m_layoutView.frameView()->invalidateScrollCorner(m_layoutView.frameView()->scrollCornerRect()); |
} |
if (m_overflowControlsHostLayer) { |