LibWeb: Move text fragment painting to PaintableWithLines

All the other painting code has moved to paintables already.
This commit is contained in:
Andreas Kling 2022-03-16 23:03:18 +01:00
commit be5f0b5ac4
Notes: sideshowbarker 2024-07-17 17:16:21 +09:00
6 changed files with 147 additions and 164 deletions

View file

@ -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; }