mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-21 07:06:04 +00:00
AK: Rename Bitmap::try_create() to ::create()
This is step 1 to removing `must_create()`.
This commit is contained in:
committed by
Andreas Kling
parent
c4e8509aac
commit
bed5961fc2
@@ -279,7 +279,7 @@ NonnullRefPtr<PhysicalPage> AnonymousVMObject::allocate_committed_page(Badge<Reg
|
||||
ErrorOr<void> AnonymousVMObject::ensure_cow_map()
|
||||
{
|
||||
if (m_cow_map.is_null())
|
||||
m_cow_map = TRY(Bitmap::try_create(page_count(), true));
|
||||
m_cow_map = TRY(Bitmap::create(page_count(), true));
|
||||
return {};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user