mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 23:37:36 +00:00
LibWeb: Move text fragment painting to PaintableWithLines
All the other painting code has moved to paintables already.
This commit is contained in:
parent
7969161f07
commit
be5f0b5ac4
6 changed files with 147 additions and 164 deletions
|
@ -63,8 +63,6 @@ public:
|
|||
|
||||
bool is_inline_block() const;
|
||||
|
||||
virtual void paint_fragment(PaintContext&, const LineBoxFragment&, Painting::PaintPhase) const { }
|
||||
|
||||
// These are used to optimize hot is<T> variants for some classes where dynamic_cast is too slow.
|
||||
virtual bool is_box() const { return false; }
|
||||
virtual bool is_block_container() const { return false; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue