From e873d27ab122271758f4b89229278be7b5ddeaca Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Fri, 16 Apr 2021 23:40:49 +0200 Subject: LibGfx: Switch a bunch of API's from taking StringView to String These were all getting converted into String internally anyway. --- Userland/Libraries/LibGfx/GIFLoader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Userland/Libraries/LibGfx/GIFLoader.cpp') 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 prev_frame_buffer; }; -RefPtr load_gif(const StringView& path) +RefPtr load_gif(String const& path) { auto file_or_error = MappedFile::map(path); if (file_or_error.is_error()) -- cgit v1.2.3