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:
parent
b2a7943b4e
commit
2762e3d80a
5 changed files with 6 additions and 6 deletions
|
@ -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());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue