| Index: third_party/WebKit/Source/core/layout/LayoutScrollbarPart.h
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutScrollbarPart.h b/third_party/WebKit/Source/core/layout/LayoutScrollbarPart.h
|
| index 67c2b5f6e3cbd8e660aec4f0c47ddd3e750e5f65..c954d4846e6b88b78ec3f389cb4e30c516630f34 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutScrollbarPart.h
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutScrollbarPart.h
|
| @@ -35,7 +35,8 @@ class LayoutScrollbar;
|
|
|
| class LayoutScrollbarPart final : public LayoutBlock {
|
| public:
|
| - static LayoutScrollbarPart* createAnonymous(Document*, LayoutScrollbar* = nullptr, ScrollbarPart = NoPart);
|
| + static LayoutScrollbarPart* createAnonymous(Document*, ScrollableArea*,
|
| + LayoutScrollbar* = nullptr, ScrollbarPart = NoPart);
|
| ~LayoutScrollbarPart() override;
|
|
|
| const char* name() const override { return "LayoutScrollbarPart"; }
|
| @@ -85,7 +86,7 @@ protected:
|
| void imageChanged(WrappedImagePtr, const IntRect* = nullptr) override;
|
|
|
| private:
|
| - LayoutScrollbarPart(LayoutScrollbar*, ScrollbarPart);
|
| + LayoutScrollbarPart(ScrollableArea*, LayoutScrollbar*, ScrollbarPart);
|
|
|
| void computePreferredLogicalWidths() override;
|
|
|
| @@ -112,6 +113,7 @@ private:
|
|
|
| bool allowsOverflowClip() const override { return false; }
|
|
|
| + RawPtrWillBeUntracedMember<ScrollableArea> m_scrollableArea;
|
| RawPtrWillBeUntracedMember<LayoutScrollbar> m_scrollbar;
|
| ScrollbarPart m_part;
|
| };
|
|
|