mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 06:48:12 +00:00
AK: Rename Bitmap::try_create() to ::create()
This is step 1 to removing `must_create()`.
This commit is contained in:
parent
c4e8509aac
commit
bed5961fc2
5 changed files with 8 additions and 8 deletions
|
@ -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 {};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue