diff options
Diffstat (limited to 'AK/Bitmap.h')
-rw-r--r-- | AK/Bitmap.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/AK/Bitmap.h b/AK/Bitmap.h index d39fd01842..ff5ac5ef69 100644 --- a/AK/Bitmap.h +++ b/AK/Bitmap.h @@ -22,7 +22,7 @@ class Bitmap : public BitmapView { AK_MAKE_NONCOPYABLE(Bitmap); public: - static ErrorOr<Bitmap> try_create(size_t size, bool default_value) + static ErrorOr<Bitmap> create(size_t size, bool default_value) { VERIFY(size != 0); @@ -37,7 +37,7 @@ public: static Bitmap must_create(size_t size, bool default_value) { - return MUST(try_create(size, default_value)); + return MUST(create(size, default_value)); } Bitmap() = default; |