Index: third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.h |
diff --git a/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.h b/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.h |
index c09f35f39228b636edaae3530f0f52520dee3ad2..617355aa961deb351e828f412a70cd06336a4868 100644 |
--- a/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.h |
+++ b/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.h |
@@ -46,9 +46,9 @@ |
#include "core/CoreExport.h" |
#include "core/layout/LayoutBox.h" |
+#include "core/paint/PaintInvalidationCapableScrollableArea.h" |
#include "core/paint/PaintLayerFragment.h" |
#include "platform/heap/Handle.h" |
-#include "platform/scroll/ScrollableArea.h" |
namespace blink { |
@@ -97,7 +97,7 @@ class LayoutScrollbarPart; |
// to be painted on top of everything. Hardware accelerated overlay scrollbars |
// are painted by their associated GraphicsLayer that sets the paint flag |
// PaintLayerPaintingOverlayScrollbars. |
-class CORE_EXPORT PaintLayerScrollableArea final : public NoBaseWillBeGarbageCollectedFinalized<PaintLayerScrollableArea>, public ScrollableArea { |
+class CORE_EXPORT PaintLayerScrollableArea final : public NoBaseWillBeGarbageCollectedFinalized<PaintLayerScrollableArea>, public PaintInvalidationCapableScrollableArea { |
USING_FAST_MALLOC_WILL_BE_REMOVED(PaintLayerScrollableArea); |
WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(PaintLayerScrollableArea); |
friend class Internals; |
@@ -140,7 +140,7 @@ private: |
private: |
PassRefPtrWillBeRawPtr<Scrollbar> createScrollbar(ScrollbarOrientation); |
- void destroyScrollbar(ScrollbarOrientation, bool invalidate = false); |
+ void destroyScrollbar(ScrollbarOrientation); |
private: |
RawPtrWillBeMember<PaintLayerScrollableArea> m_scrollableArea; |
@@ -188,8 +188,7 @@ public: |
GraphicsLayer* layerForScrollCorner() const override; |
bool usesCompositedScrolling() const override; |
- void invalidateScrollbarRect(Scrollbar*, const IntRect&) override; |
- void invalidateScrollCornerRect(const IntRect&) override; |
+ void scrollControlWasSetNeedsPaintInvalidation() override; |
bool shouldUseIntegerScrollOffset() const override; |
bool isActive() const override; |
bool isScrollCornerVisible() const override; |