summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb
diff options
context:
space:
mode:
authorMacDue <macdue@dueutil.tech>2022-06-15 21:27:30 +0100
committerLinus Groh <mail@linusgroh.de>2022-06-16 10:28:07 +0100
commit5b6abfadfd374131fee2c1e817de9f92bcce9478 (patch)
tree466b08357fe5b96205a1850f783808936ecff030 /Userland/Libraries/LibWeb
parent51899751d77f51b744aec6179a60dd9138d74bb4 (diff)
downloadserenity-5b6abfadfd374131fee2c1e817de9f92bcce9478.zip
LibWeb: Make PaintableBox::normalized_border_radii_data() protected
This method is needed in subclasses of PaintableBox to do border-radius clipping.
Diffstat (limited to 'Userland/Libraries/LibWeb')
-rw-r--r--Userland/Libraries/LibWeb/Painting/PaintableBox.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/Painting/PaintableBox.h b/Userland/Libraries/LibWeb/Painting/PaintableBox.h
index 6094b5e33e..02a4d319bd 100644
--- a/Userland/Libraries/LibWeb/Painting/PaintableBox.h
+++ b/Userland/Libraries/LibWeb/Painting/PaintableBox.h
@@ -129,9 +129,9 @@ protected:
virtual Gfx::FloatRect compute_absolute_rect() const;
-private:
Painting::BorderRadiiData normalized_border_radii_data() const;
+private:
OwnPtr<Painting::StackingContext> m_stacking_context;
Optional<Gfx::FloatRect> mutable m_absolute_rect;