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 42547296591a396fdc0696c26c9dcb6d5dd980c6..15d287c2947cad543f8dcdc5f1a39eec4c95a665 100644 |
--- a/third_party/WebKit/Source/platform/scroll/ScrollbarThemeMacNonOverlayAPI.h |
+++ b/third_party/WebKit/Source/platform/scroll/ScrollbarThemeMacNonOverlayAPI.h |
@@ -43,20 +43,20 @@ public: |
bool usesOverlayScrollbars() const override { return false; } |
ScrollbarButtonsPlacement buttonsPlacement() const override; |
- bool paint(const ScrollbarThemeClient*, GraphicsContext*, const CullRect&) override; |
+ bool paint(const ScrollbarThemeClient&, GraphicsContext&, const CullRect&) override; |
bool invalidateOnWindowActiveChange() const override { return true; } |
protected: |
- IntRect trackRect(const ScrollbarThemeClient*, bool painting = false) override; |
- IntRect backButtonRect(const ScrollbarThemeClient*, ScrollbarPart, bool painting = false) override; |
- IntRect forwardButtonRect(const ScrollbarThemeClient*, ScrollbarPart, bool painting = false) override; |
+ IntRect trackRect(const ScrollbarThemeClient&, bool painting = false) override; |
+ IntRect backButtonRect(const ScrollbarThemeClient&, ScrollbarPart, bool painting = false) override; |
+ IntRect forwardButtonRect(const ScrollbarThemeClient&, ScrollbarPart, bool painting = false) override; |
void updateButtonPlacement(ScrollbarButtonsPlacement) override; |
- bool hasButtons(const ScrollbarThemeClient*) override; |
- bool hasThumb(const ScrollbarThemeClient*) override; |
+ bool hasButtons(const ScrollbarThemeClient&) override; |
+ bool hasThumb(const ScrollbarThemeClient&) override; |
- int minimumThumbLength(const ScrollbarThemeClient*) override; |
+ int minimumThumbLength(const ScrollbarThemeClient&) override; |
}; |
} |