mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-18 23:42:17 +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
Notes:
sideshowbarker
2024-07-17 17:16:21 +09:00
Author: https://github.com/awesomekling
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