mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-15 14:02:20 +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 {
|
namespace Web::Painting {
|
||||||
|
|
||||||
class PaintableFragment {
|
class PaintableFragment {
|
||||||
friend class InlinePaintable;
|
|
||||||
friend class PaintableWithLines;
|
friend class PaintableWithLines;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
@ -32,15 +31,9 @@ public:
|
||||||
void set_offset(CSSPixelPoint offset) { m_offset = offset; }
|
void set_offset(CSSPixelPoint offset) { m_offset = offset; }
|
||||||
CSSPixelSize size() const { return m_size; }
|
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; }
|
Vector<ShadowData> const& shadows() const { return m_shadows; }
|
||||||
void set_shadows(Vector<ShadowData>&& shadows) { m_shadows = 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;
|
CSSPixelRect const absolute_rect() const;
|
||||||
|
|
||||||
RefPtr<Gfx::GlyphRun> glyph_run() const { return m_glyph_run; }
|
RefPtr<Gfx::GlyphRun> glyph_run() const { return m_glyph_run; }
|
||||||
|
@ -63,11 +56,9 @@ private:
|
||||||
CSSPixels m_baseline;
|
CSSPixels m_baseline;
|
||||||
int m_start;
|
int m_start;
|
||||||
int m_length;
|
int m_length;
|
||||||
Painting::BorderRadiiData m_border_radii_data;
|
|
||||||
RefPtr<Gfx::GlyphRun> m_glyph_run;
|
RefPtr<Gfx::GlyphRun> m_glyph_run;
|
||||||
CSS::WritingMode m_writing_mode;
|
CSS::WritingMode m_writing_mode;
|
||||||
Vector<ShadowData> m_shadows;
|
Vector<ShadowData> m_shadows;
|
||||||
ResolvedBackground m_resolved_background;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue