| Index: third_party/WebKit/Source/platform/scroll/ScrollbarThemeMock.h
|
| diff --git a/third_party/WebKit/Source/platform/scroll/ScrollbarThemeMock.h b/third_party/WebKit/Source/platform/scroll/ScrollbarThemeMock.h
|
| index f14f4b5cad99c0cdb3d0e4c9c485a8d1747f2d95..6d752e35b99c729b7afd2fa4e7d2099e3f32fc79 100644
|
| --- a/third_party/WebKit/Source/platform/scroll/ScrollbarThemeMock.h
|
| +++ b/third_party/WebKit/Source/platform/scroll/ScrollbarThemeMock.h
|
| @@ -40,15 +40,15 @@ public:
|
|
|
| protected:
|
| bool shouldRepaintAllPartsOnInvalidation() const override;
|
| - bool hasButtons(const ScrollbarThemeClient*) override { return false; }
|
| - bool hasThumb(const ScrollbarThemeClient*) override { return true; }
|
| + bool hasButtons(const ScrollbarThemeClient&) override { return false; }
|
| + bool hasThumb(const ScrollbarThemeClient&) override { return true; }
|
|
|
| - IntRect backButtonRect(const ScrollbarThemeClient*, ScrollbarPart, bool /*painting*/ = false) override { return IntRect(); }
|
| - IntRect forwardButtonRect(const ScrollbarThemeClient*, ScrollbarPart, bool /*painting*/ = false) override { return IntRect(); }
|
| - IntRect trackRect(const ScrollbarThemeClient*, bool painting = false) override;
|
| + IntRect backButtonRect(const ScrollbarThemeClient&, ScrollbarPart, bool /*painting*/ = false) override { return IntRect(); }
|
| + IntRect forwardButtonRect(const ScrollbarThemeClient&, ScrollbarPart, bool /*painting*/ = false) override { return IntRect(); }
|
| + IntRect trackRect(const ScrollbarThemeClient&, bool painting = false) override;
|
|
|
| - void paintTrackBackground(GraphicsContext*, const ScrollbarThemeClient*, const IntRect&) override;
|
| - void paintThumb(GraphicsContext*, const ScrollbarThemeClient*, const IntRect&) override;
|
| + void paintTrackBackground(GraphicsContext&, const ScrollbarThemeClient&, const IntRect&) override;
|
| + void paintThumb(GraphicsContext&, const ScrollbarThemeClient&, const IntRect&) override;
|
|
|
| private:
|
| bool isMockTheme() const final { return true; }
|
|
|