Index: third_party/WebKit/Source/platform/scroll/ScrollbarThemeMacNonOverlayAPI.h |
diff --git a/third_party/WebKit/Source/platform/scroll/ScrollbarThemeMacNonOverlayAPI.h b/third_party/WebKit/Source/platform/scroll/ScrollbarThemeMacNonOverlayAPI.h |
index bf9cc292e8dbf4d85068285d7531f011e6c2511b..21c69f43ba0aaccb220dda7ffe0f7611c1cf3e88 100644 |
--- a/third_party/WebKit/Source/platform/scroll/ScrollbarThemeMacNonOverlayAPI.h |
+++ b/third_party/WebKit/Source/platform/scroll/ScrollbarThemeMacNonOverlayAPI.h |
@@ -35,13 +35,15 @@ |
namespace blink { |
+class CullRect; |
+ |
class PLATFORM_EXPORT ScrollbarThemeMacNonOverlayAPI : public ScrollbarThemeMacCommon { |
public: |
int scrollbarThickness(ScrollbarControlSize = RegularScrollbar) override; |
bool usesOverlayScrollbars() const override { return false; } |
ScrollbarButtonsPlacement buttonsPlacement() const override; |
- bool paint(const ScrollbarThemeClient*, GraphicsContext*, const IntRect& damageRect) override; |
+ bool paint(const ScrollbarThemeClient*, GraphicsContext*, const CullRect&) override; |
protected: |
IntRect trackRect(const ScrollbarThemeClient*, bool painting = false) override; |