mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 06:38:10 +00:00
LibWeb: Rename LineBoxFragment::render() => paint()
Also LayoutText::render_fragment() => render(). This matches the names in the rest of LibWeb.
This commit is contained in:
parent
b2a7943b4e
commit
2762e3d80a
5 changed files with 6 additions and 6 deletions
|
@ -34,7 +34,7 @@
|
|||
|
||||
namespace Web {
|
||||
|
||||
void LineBoxFragment::render(PaintContext& context)
|
||||
void LineBoxFragment::paint(PaintContext& context)
|
||||
{
|
||||
for (auto* ancestor = layout_node().parent(); ancestor; ancestor = ancestor->parent()) {
|
||||
if (!ancestor->is_visible())
|
||||
|
@ -42,7 +42,7 @@ void LineBoxFragment::render(PaintContext& context)
|
|||
}
|
||||
|
||||
if (is<LayoutText>(layout_node())) {
|
||||
to<LayoutText>(layout_node()).render_fragment(context, *this);
|
||||
to<LayoutText>(layout_node()).paint_fragment(context, *this);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue