mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:47:35 +00:00
LibWeb/Layout: Rename BlockContainer::paint{_box => able_with_lines}()
It returns a PaintableBox (a PaintableWithLines, to be specific), not a 'PaintBox'. paintable_box() without the cast is already available through BlockContainer's Box base class, we don't need to shadow it.
This commit is contained in:
parent
d58b671ff6
commit
a75915f055
8 changed files with 22 additions and 22 deletions
|
@ -21,7 +21,7 @@ BlockContainer::BlockContainer(DOM::Document& document, DOM::Node* node, CSS::Co
|
|||
|
||||
BlockContainer::~BlockContainer() = default;
|
||||
|
||||
Painting::PaintableWithLines const* BlockContainer::paint_box() const
|
||||
Painting::PaintableWithLines const* BlockContainer::paintable_with_lines() const
|
||||
{
|
||||
return static_cast<Painting::PaintableWithLines const*>(Box::paintable_box());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue