| Index: third_party/WebKit/Source/platform/scroll/ScrollbarThemeOverlayMock.h
|
| diff --git a/third_party/WebKit/Source/platform/scroll/ScrollbarThemeOverlayMock.h b/third_party/WebKit/Source/platform/scroll/ScrollbarThemeOverlayMock.h
|
| index 1ed241d367c727b48a8db187cf872150f62220e4..d7877208a9506bb034b7dc5c4ac2a93f7eb48265 100644
|
| --- a/third_party/WebKit/Source/platform/scroll/ScrollbarThemeOverlayMock.h
|
| +++ b/third_party/WebKit/Source/platform/scroll/ScrollbarThemeOverlayMock.h
|
| @@ -50,6 +50,14 @@ class PLATFORM_EXPORT ScrollbarThemeOverlayMock : public ScrollbarThemeOverlay {
|
| m_delayInSeconds = delayInSeconds;
|
| }
|
|
|
| + void paintThumb(GraphicsContext& gc,
|
| + const Scrollbar& scrollbar,
|
| + const IntRect& rect) override {
|
| + if (!scrollbar.enabled())
|
| + return;
|
| + ScrollbarThemeOverlay::paintThumb(gc, scrollbar, rect);
|
| + }
|
| +
|
| private:
|
| double m_delayInSeconds;
|
| bool isMockTheme() const final { return true; }
|
|
|