1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 00:47:45 +00:00

LibGfx: Switch a bunch of API's from taking StringView to String

These were all getting converted into String internally anyway.
This commit is contained in:
Andreas Kling 2021-04-16 23:40:49 +02:00
parent 050648b270
commit e873d27ab1
12 changed files with 17 additions and 17 deletions

View file

@ -50,8 +50,8 @@ public:
NonnullRefPtr<Font> clone() const;
static NonnullRefPtr<BitmapFont> create(u8 glyph_height, u8 glyph_width, bool fixed, FontTypes type);
static RefPtr<BitmapFont> load_from_file(const StringView& path);
bool write_to_file(const StringView& path);
static RefPtr<BitmapFont> load_from_file(String const& path);
bool write_to_file(String const& path);
~BitmapFont();