Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Unified Diff: third_party/WebKit/Source/core/layout/LayoutScrollbarPart.h

Issue 1835843002: WIP: Fix foreignObject cullrect Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
};

Powered by Google App Engine
This is Rietveld 408576698