| Index: third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.h
|
| diff --git a/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.h b/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.h
|
| index 3a8fb5158e1f88eed429fb435c0b12cdfa029957..d7346cc9391379890b7ee7e345c5760289c86ea4 100644
|
| --- a/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.h
|
| +++ b/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.h
|
| @@ -134,13 +134,13 @@ private:
|
| bool hasHorizontalScrollbar() const { return horizontalScrollbar(); }
|
| bool hasVerticalScrollbar() const { return verticalScrollbar(); }
|
|
|
| - void setHasHorizontalScrollbar(bool hasScrollbar);
|
| - void setHasVerticalScrollbar(bool hasScrollbar);
|
| + void setHasHorizontalScrollbar(bool hasScrollbar, bool useCustomScrollbarStyle);
|
| + void setHasVerticalScrollbar(bool hasScrollbar, bool useCustomScrollbarStyle);
|
|
|
| DECLARE_TRACE();
|
|
|
| private:
|
| - PassRefPtrWillBeRawPtr<Scrollbar> createScrollbar(ScrollbarOrientation);
|
| + PassRefPtrWillBeRawPtr<Scrollbar> createScrollbar(ScrollbarOrientation, bool useCustomScrollbarStyle);
|
| void destroyScrollbar(ScrollbarOrientation);
|
|
|
| private:
|
| @@ -349,6 +349,7 @@ private:
|
| bool hasScrollableVerticalOverflow() const;
|
| bool visualViewportSuppliesScrollbars() const;
|
|
|
| + bool useCustomScrollbarStyle() const;
|
| bool needsScrollbarReconstruction() const;
|
|
|
| void computeScrollDimensions();
|
|
|