diff options
Diffstat (limited to 'SharedGraphics/PNGLoader.cpp')
-rw-r--r-- | SharedGraphics/PNGLoader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/SharedGraphics/PNGLoader.cpp b/SharedGraphics/PNGLoader.cpp index 8e7094a8ba..37952654bb 100644 --- a/SharedGraphics/PNGLoader.cpp +++ b/SharedGraphics/PNGLoader.cpp @@ -101,7 +101,7 @@ private: static RetainPtr<GraphicsBitmap> load_png_impl(const byte*, int); static bool process_chunk(Streamer&, PNGLoadingContext& context); -RetainPtr<GraphicsBitmap> load_png(const String& path) +RetainPtr<GraphicsBitmap> load_png(const StringView& path) { MappedFile mapped_file(path); if (!mapped_file.is_valid()) |