summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGfx/PNGLoader.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-04-16 23:40:49 +0200
committerAndreas Kling <kling@serenityos.org>2021-04-17 01:27:30 +0200
commite873d27ab122271758f4b89229278be7b5ddeaca (patch)
tree63918d6117ffeb2949496b9440b2eb6f70075078 /Userland/Libraries/LibGfx/PNGLoader.h
parent050648b2709a2ee30ec5ea20eb3c72b912fec0fe (diff)
downloadserenity-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/PNGLoader.h')
-rw-r--r--Userland/Libraries/LibGfx/PNGLoader.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibGfx/PNGLoader.h b/Userland/Libraries/LibGfx/PNGLoader.h
index 2432f231e0..ce0976ddea 100644
--- a/Userland/Libraries/LibGfx/PNGLoader.h
+++ b/Userland/Libraries/LibGfx/PNGLoader.h
@@ -31,7 +31,7 @@
namespace Gfx {
-RefPtr<Gfx::Bitmap> load_png(const StringView& path);
+RefPtr<Gfx::Bitmap> load_png(String const& path);
RefPtr<Gfx::Bitmap> load_png_from_memory(const u8*, size_t);
struct PNGLoadingContext;