mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-13 03:29:49 +00:00
LibWeb: Rename Layout::Node::paintable() to first_paintable()
Layout node is allowed to have multiple corresponding paintables, so first_paintable() is more explicit name for getter that returns first paintable.
This commit is contained in:
parent
7d22b1c5c8
commit
c690fb9df3
Notes:
github-actions[bot]
2024-10-16 18:26:47 +00:00
Author: https://github.com/kalenikaliaksandr
Commit: c690fb9df3
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1829
15 changed files with 42 additions and 42 deletions
|
@ -11,12 +11,12 @@ namespace Web::Layout {
|
|||
|
||||
Painting::LabelablePaintable* LabelableNode::paintable()
|
||||
{
|
||||
return static_cast<Painting::LabelablePaintable*>(ReplacedBox::paintable());
|
||||
return static_cast<Painting::LabelablePaintable*>(ReplacedBox::first_paintable());
|
||||
}
|
||||
|
||||
Painting::LabelablePaintable const* LabelableNode::paintable() const
|
||||
{
|
||||
return static_cast<Painting::LabelablePaintable const*>(ReplacedBox::paintable());
|
||||
return static_cast<Painting::LabelablePaintable const*>(ReplacedBox::first_paintable());
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue