1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-22 19:45:08 +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:
Andreas Kling 2020-06-28 23:07:44 +02:00
parent b2a7943b4e
commit 2762e3d80a
5 changed files with 6 additions and 6 deletions

View file

@ -710,7 +710,7 @@ void LayoutBlock::paint(PaintContext& context, PaintPhase phase)
for (auto& fragment : line_box.fragments()) {
if (context.should_show_line_box_borders())
context.painter().draw_rect(enclosing_int_rect(fragment.absolute_rect()), Color::Green);
fragment.render(context);
fragment.paint(context);
}
}
}