mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:38:11 +00:00
LibWeb: Split Paintable into Paintable and PaintableBox
To prepare for paintable inline content, we take the basic painting functionality and hoist it into a base class.
This commit is contained in:
parent
0500dbc3f6
commit
053766d79c
34 changed files with 133 additions and 95 deletions
|
@ -1010,7 +1010,7 @@ size_t Node::length() const
|
|||
return child_count();
|
||||
}
|
||||
|
||||
Painting::Paintable const* Node::paint_box() const
|
||||
Painting::PaintableBox const* Node::paint_box() const
|
||||
{
|
||||
if (!layout_node())
|
||||
return nullptr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue