mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-15 05:52:19 +00:00
LibWeb: Remove unused members in PaintableFragment
Those are no longer used after we got rid of InlinePaintable.
This commit is contained in:
parent
fd3f8b7645
commit
fec4737255
Notes:
github-actions[bot]
2024-11-03 17:44:50 +00:00
Author: https://github.com/kalenikaliaksandr
Commit: fec4737255
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2139
1 changed files with 0 additions and 9 deletions
|
@ -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<ShadowData> const& shadows() const { return m_shadows; }
|
||||
void set_shadows(Vector<ShadowData>&& 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<Gfx::GlyphRun> 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<Gfx::GlyphRun> m_glyph_run;
|
||||
CSS::WritingMode m_writing_mode;
|
||||
Vector<ShadowData> m_shadows;
|
||||
ResolvedBackground m_resolved_background;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue