| Index: third_party/WebKit/Source/platform/scroll/Scrollbar.h
|
| diff --git a/third_party/WebKit/Source/platform/scroll/Scrollbar.h b/third_party/WebKit/Source/platform/scroll/Scrollbar.h
|
| index e8f806db5ebb1f69f92d32a9ecc61a4ca020454e..3d47eb6033eab3ac34096406c7aafe4b011a56e9 100644
|
| --- a/third_party/WebKit/Source/platform/scroll/Scrollbar.h
|
| +++ b/third_party/WebKit/Source/platform/scroll/Scrollbar.h
|
| @@ -104,7 +104,7 @@ public:
|
| void setProportion(int visibleSize, int totalSize);
|
| void setPressedPos(int p) { m_pressedPos = p; }
|
|
|
| - void paint(GraphicsContext*, const CullRect&) const final;
|
| + void paint(GraphicsContext&, const CullRect&) const final;
|
|
|
| bool isOverlayScrollbar() const override;
|
| bool shouldParticipateInHitTesting();
|
| @@ -125,7 +125,7 @@ public:
|
| void mouseUp(const PlatformMouseEvent&);
|
| void mouseDown(const PlatformMouseEvent&);
|
|
|
| - ScrollbarTheme* theme() const { return m_theme; }
|
| + ScrollbarTheme& theme() const { return m_theme; }
|
|
|
| IntRect convertToContainingWidget(const IntRect&) const override;
|
| IntRect convertFromContainingWidget(const IntRect&) const override;
|
| @@ -177,7 +177,7 @@ protected:
|
| RawPtrWillBeMember<ScrollableArea> m_scrollableArea;
|
| ScrollbarOrientation m_orientation;
|
| ScrollbarControlSize m_controlSize;
|
| - ScrollbarTheme* m_theme;
|
| + ScrollbarTheme& m_theme;
|
|
|
| int m_visibleSize;
|
| int m_totalSize;
|
|
|