Index: third_party/WebKit/Source/platform/scroll/ScrollbarThemeMacCommon.h |
diff --git a/third_party/WebKit/Source/platform/scroll/ScrollbarThemeMacCommon.h b/third_party/WebKit/Source/platform/scroll/ScrollbarThemeMacCommon.h |
index c412faa15de9f18822a77088fad48cb1154da5ac..036083b32ed6f614451e1ade362603e48954e213 100644 |
--- a/third_party/WebKit/Source/platform/scroll/ScrollbarThemeMacCommon.h |
+++ b/third_party/WebKit/Source/platform/scroll/ScrollbarThemeMacCommon.h |
@@ -39,8 +39,8 @@ class PLATFORM_EXPORT ScrollbarThemeMacCommon : public ScrollbarTheme { |
public: |
~ScrollbarThemeMacCommon() override; |
- void registerScrollbar(ScrollbarThemeClient*) override; |
- void unregisterScrollbar(ScrollbarThemeClient*) override; |
+ void registerScrollbar(ScrollbarThemeClient&) override; |
+ void unregisterScrollbar(ScrollbarThemeClient&) override; |
void preferencesChanged(float initialButtonDelay, float autoscrollButtonDelay, NSScrollerStyle preferredScrollerStyle, bool redraw, bool scrollAnimationEnabled, ScrollbarButtonsPlacement); |
bool supportsControlTints() const override { return true; } |
@@ -48,7 +48,7 @@ public: |
double initialAutoscrollTimerDelay() override; |
double autoscrollTimerDelay() override; |
- void paintTickmarks(GraphicsContext*, const ScrollbarThemeClient*, const IntRect&) override; |
+ void paintTickmarks(GraphicsContext&, const ScrollbarThemeClient&, const IntRect&) override; |
static NSScrollerStyle recommendedScrollerStyle(); |
@@ -59,12 +59,12 @@ public: |
protected: |
int maxOverlapBetweenPages() override { return 40; } |
- bool shouldDragDocumentInsteadOfThumb(const ScrollbarThemeClient*, const PlatformMouseEvent&) override; |
+ bool shouldDragDocumentInsteadOfThumb(const ScrollbarThemeClient&, const PlatformMouseEvent&) override; |
int scrollbarPartToHIPressedState(ScrollbarPart); |
virtual void updateButtonPlacement(ScrollbarButtonsPlacement) {} |
- void paintGivenTickmarks(SkCanvas*, const ScrollbarThemeClient*, const IntRect&, const Vector<IntRect>&); |
+ void paintGivenTickmarks(SkCanvas*, const ScrollbarThemeClient&, const IntRect&, const Vector<IntRect>&); |
RefPtr<Pattern> m_overhangPattern; |
}; |