Index: third_party/WebKit/Source/platform/scroll/ScrollbarThemeNonMacCommon.h |
diff --git a/third_party/WebKit/Source/platform/scroll/ScrollbarThemeNonMacCommon.h b/third_party/WebKit/Source/platform/scroll/ScrollbarThemeNonMacCommon.h |
index 4f5155d34cba725853702c692e1a1897c0e84004..38b52d2f7928495e8f6a35f88858878f9f0afeae 100644 |
--- a/third_party/WebKit/Source/platform/scroll/ScrollbarThemeNonMacCommon.h |
+++ b/third_party/WebKit/Source/platform/scroll/ScrollbarThemeNonMacCommon.h |
@@ -37,17 +37,17 @@ namespace blink { |
class PLATFORM_EXPORT ScrollbarThemeNonMacCommon : public ScrollbarTheme { |
protected: |
- bool hasButtons(const ScrollbarThemeClient*) override { return true; } |
- bool hasThumb(const ScrollbarThemeClient*) override; |
+ bool hasButtons(const ScrollbarThemeClient&) override { return true; } |
+ bool hasThumb(const ScrollbarThemeClient&) 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; |
+ IntRect trackRect(const ScrollbarThemeClient&, bool painting = false) override; |
- void paintTrackBackground(GraphicsContext*, const ScrollbarThemeClient*, const IntRect&) override; |
- void paintTickmarks(GraphicsContext*, const ScrollbarThemeClient*, const IntRect&) override; |
+ void paintTrackBackground(GraphicsContext&, const ScrollbarThemeClient&, const IntRect&) override; |
+ void paintTickmarks(GraphicsContext&, const ScrollbarThemeClient&, const IntRect&) override; |
- virtual IntSize buttonSize(const ScrollbarThemeClient*) = 0; |
+ virtual IntSize buttonSize(const ScrollbarThemeClient&) = 0; |
}; |
} // namespace blink |