mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-10 10:09:14 +00:00
AK: Rename Retainable => RefCounted.
(And various related renames that go along with it.)
This commit is contained in:
parent
ef1bfcb9d8
commit
77b9fa89dd
Notes:
sideshowbarker
2024-07-19 13:32:21 +09:00
Author: https://github.com/awesomekling
Commit: 77b9fa89dd
45 changed files with 118 additions and 118 deletions
|
@ -129,7 +129,7 @@ size_t Region::amount_shared() const
|
|||
size_t bytes = 0;
|
||||
for (size_t i = 0; i < page_count(); ++i) {
|
||||
auto& physical_page = m_vmo->physical_pages()[first_page_index() + i];
|
||||
if (physical_page && physical_page->retain_count() > 1)
|
||||
if (physical_page && physical_page->ref_count() > 1)
|
||||
bytes += PAGE_SIZE;
|
||||
}
|
||||
return bytes;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue