mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:27:35 +00:00
LibWeb: Use Layout::Box::paint_box() accessor in more places
This commit is contained in:
parent
02b316fd5c
commit
9461e44afa
22 changed files with 60 additions and 61 deletions
|
@ -1016,7 +1016,7 @@ Painting::Paintable const* Node::paint_box() const
|
|||
return nullptr;
|
||||
if (!layout_node()->is_box())
|
||||
return nullptr;
|
||||
return static_cast<Layout::Box const&>(*layout_node()).m_paint_box;
|
||||
return static_cast<Layout::Box const&>(*layout_node()).paint_box();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue