diff options
author | Andreas Kling <kling@serenityos.org> | 2021-04-16 23:40:49 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-04-17 01:27:30 +0200 |
commit | e873d27ab122271758f4b89229278be7b5ddeaca (patch) | |
tree | 63918d6117ffeb2949496b9440b2eb6f70075078 /Userland/Libraries/LibGfx/GIFLoader.cpp | |
parent | 050648b2709a2ee30ec5ea20eb3c72b912fec0fe (diff) | |
download | serenity-e873d27ab122271758f4b89229278be7b5ddeaca.zip |
LibGfx: Switch a bunch of API's from taking StringView to String
These were all getting converted into String internally anyway.
Diffstat (limited to 'Userland/Libraries/LibGfx/GIFLoader.cpp')
-rw-r--r-- | Userland/Libraries/LibGfx/GIFLoader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibGfx/GIFLoader.cpp b/Userland/Libraries/LibGfx/GIFLoader.cpp index db69df4e11..20e141544d 100644 --- a/Userland/Libraries/LibGfx/GIFLoader.cpp +++ b/Userland/Libraries/LibGfx/GIFLoader.cpp @@ -104,7 +104,7 @@ struct GIFLoadingContext { RefPtr<Gfx::Bitmap> prev_frame_buffer; }; -RefPtr<Gfx::Bitmap> load_gif(const StringView& path) +RefPtr<Gfx::Bitmap> load_gif(String const& path) { auto file_or_error = MappedFile::map(path); if (file_or_error.is_error()) |