mirror of
https://github.com/RGBCube/serenity
synced 2025-07-24 22:47:44 +00:00
StringViewize a bunch of things -- mostly LibGUI
This commit is contained in:
parent
f9ba7adae2
commit
1024dfa81a
59 changed files with 129 additions and 139 deletions
|
@ -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())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue