1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 02:57:44 +00:00

AK+Everywhere: Replace all Bitmap::must_create() uses with ::create()

Well, *someone* has to add some more FIXMEs to keep FIXME Roulette
going. :^)
This commit is contained in:
Sam Atkins 2022-12-20 16:45:07 +00:00 committed by Andreas Kling
parent bed5961fc2
commit 29733e65f8
6 changed files with 25 additions and 30 deletions

View file

@ -35,11 +35,6 @@ public:
return bitmap;
}
static Bitmap must_create(size_t size, bool default_value)
{
return MUST(create(size, default_value));
}
Bitmap() = default;
Bitmap(u8* data, size_t size, bool is_owning = false)