mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 20:29:18 +00:00
LibGfx: Return family names by reference to avoid unnecessairy cloning
This commit is contained in:
parent
b3c253e50f
commit
ec5ea0d686
Notes:
github-actions[bot]
2024-11-20 14:39:14 +00:00
Author: https://github.com/yyny
Commit: ec5ea0d686
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1985
Reviewed-by: https://github.com/awesomekling
6 changed files with 6 additions and 6 deletions
|
@ -85,7 +85,7 @@ public:
|
|||
virtual float width(StringView) const = 0;
|
||||
virtual float width(Utf8View const&) const = 0;
|
||||
|
||||
virtual FlyString family() const = 0;
|
||||
virtual FlyString const& family() const = 0;
|
||||
|
||||
virtual NonnullRefPtr<Font> with_size(float point_size) const = 0;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue