From fec4737255b63c0a3365cd118bd6b8779b5b7e56 Mon Sep 17 00:00:00 2001 From: Aliaksandr Kalenik Date: Sun, 3 Nov 2024 17:10:13 +0100 Subject: [PATCH] LibWeb: Remove unused members in PaintableFragment Those are no longer used after we got rid of InlinePaintable. --- Userland/Libraries/LibWeb/Painting/PaintableFragment.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/Userland/Libraries/LibWeb/Painting/PaintableFragment.h b/Userland/Libraries/LibWeb/Painting/PaintableFragment.h index 4f27901a7ab..5fef570a073 100644 --- a/Userland/Libraries/LibWeb/Painting/PaintableFragment.h +++ b/Userland/Libraries/LibWeb/Painting/PaintableFragment.h @@ -15,7 +15,6 @@ namespace Web::Painting { class PaintableFragment { - friend class InlinePaintable; friend class PaintableWithLines; public: @@ -32,15 +31,9 @@ public: void set_offset(CSSPixelPoint offset) { m_offset = offset; } CSSPixelSize size() const { return m_size; } - BorderRadiiData const& border_radii_data() const { return m_border_radii_data; } - void set_border_radii_data(BorderRadiiData const& border_radii_data) { m_border_radii_data = border_radii_data; } - Vector const& shadows() const { return m_shadows; } void set_shadows(Vector&& shadows) { m_shadows = shadows; } - ResolvedBackground const& resolved_background() const { return m_resolved_background; } - void set_resolved_background(ResolvedBackground resolved_background) { m_resolved_background = resolved_background; } - CSSPixelRect const absolute_rect() const; RefPtr glyph_run() const { return m_glyph_run; } @@ -63,11 +56,9 @@ private: CSSPixels m_baseline; int m_start; int m_length; - Painting::BorderRadiiData m_border_radii_data; RefPtr m_glyph_run; CSS::WritingMode m_writing_mode; Vector m_shadows; - ResolvedBackground m_resolved_background; }; }