mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 11:49:44 +00:00
AK: Rename RetainPtr => RefPtr and Retained => NonnullRefPtr.
This commit is contained in:
parent
77b9fa89dd
commit
90b1354688
Notes:
sideshowbarker
2024-07-19 13:32:18 +09:00
Author: https://github.com/awesomekling
Commit: 90b1354688
188 changed files with 562 additions and 562 deletions
|
@ -26,9 +26,9 @@ Custody* Custody::get_if_cached(Custody* parent, const String& name)
|
|||
return nullptr;
|
||||
}
|
||||
|
||||
Retained<Custody> Custody::get_or_create(Custody* parent, const String& name, Inode& inode)
|
||||
NonnullRefPtr<Custody> Custody::get_or_create(Custody* parent, const String& name, Inode& inode)
|
||||
{
|
||||
if (RetainPtr<Custody> cached_custody = get_if_cached(parent, name)) {
|
||||
if (RefPtr<Custody> cached_custody = get_if_cached(parent, name)) {
|
||||
if (&cached_custody->inode() != &inode) {
|
||||
dbgprintf("WTF! cached custody for name '%s' has inode=%s, new inode=%s\n",
|
||||
name.characters(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue