LibWeb: Rename draw_text_run to draw_glyph_run in DisplayListRecorder

For consistency with corresponding display list item name.
This commit is contained in:
Aliaksandr Kalenik 2025-07-26 16:31:22 +02:00 committed by Jelle Raaijmakers
parent 64f1a76636
commit 0e8d70d8c3
Notes: github-actions[bot] 2025-07-27 08:21:42 +00:00
4 changed files with 6 additions and 6 deletions

View file

@ -37,7 +37,7 @@ static RefPtr<DisplayList> compute_text_clip_paths(PaintContext& context, Painta
fragment_absolute_rect.x().to_float(),
fragment_absolute_rect.y().to_float() + fragment.baseline().to_float(),
} * scale;
display_list_recorder.draw_text_run(baseline_start, *glyph_run, Gfx::Color::Black, fragment_absolute_device_rect.to_type<int>(), scale, fragment.orientation());
display_list_recorder.draw_glyph_run(baseline_start, *glyph_run, Gfx::Color::Black, fragment_absolute_device_rect.to_type<int>(), scale, fragment.orientation());
};
paintable.for_each_in_inclusive_subtree([&](auto& paintable) {