|
@@ -179,7 +179,7 @@ RefPtr<Gfx::Bitmap> load_png(const StringView& path)
|
|
|
return nullptr;
|
|
|
auto bitmap = load_png_impl((const u8*)mapped_file.data(), mapped_file.size());
|
|
|
if (bitmap)
|
|
|
- bitmap->set_mmap_name(String::format("GraphicsBitmap [%dx%d] - Decoded PNG: %s", bitmap->width(), bitmap->height(), canonicalized_path(path).characters()));
|
|
|
+ bitmap->set_mmap_name(String::format("Gfx::Bitmap [%dx%d] - Decoded PNG: %s", bitmap->width(), bitmap->height(), canonicalized_path(path).characters()));
|
|
|
return bitmap;
|
|
|
}
|
|
|
|
|
@@ -187,7 +187,7 @@ RefPtr<Gfx::Bitmap> load_png_from_memory(const u8* data, size_t length)
|
|
|
{
|
|
|
auto bitmap = load_png_impl(data, length);
|
|
|
if (bitmap)
|
|
|
- bitmap->set_mmap_name(String::format("GraphicsBitmap [%dx%d] - Decoded PNG: <memory>", bitmap->width(), bitmap->height()));
|
|
|
+ bitmap->set_mmap_name(String::format("Gfx::Bitmap [%dx%d] - Decoded PNG: <memory>", bitmap->width(), bitmap->height()));
|
|
|
return bitmap;
|
|
|
}
|
|
|
|