1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 05:15:07 +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

@ -65,7 +65,7 @@ const String& LayoutText::text_for_style(const StyleProperties& style) const
return node().data();
}
void LayoutText::render_fragment(PaintContext& context, const LineBoxFragment& fragment) const
void LayoutText::paint_fragment(PaintContext& context, const LineBoxFragment& fragment) const
{
auto& painter = context.painter();
painter.set_font(specified_style().font());