mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 06:28:13 +00:00
AK: Rename RetainPtr => RefPtr and Retained => NonnullRefPtr.
This commit is contained in:
parent
77b9fa89dd
commit
90b1354688
188 changed files with 562 additions and 562 deletions
|
@ -22,7 +22,7 @@ void LayoutNode::deref()
|
|||
delete this;
|
||||
}
|
||||
|
||||
void LayoutNode::append_child(Retained<LayoutNode> node)
|
||||
void LayoutNode::append_child(NonnullRefPtr<LayoutNode> node)
|
||||
{
|
||||
if (m_last_child)
|
||||
m_last_child->set_next_sibling(node.ptr());
|
||||
|
|
|
@ -38,7 +38,7 @@ public:
|
|||
|
||||
bool has_children() const { return m_first_child; }
|
||||
|
||||
void append_child(Retained<LayoutNode>);
|
||||
void append_child(NonnullRefPtr<LayoutNode>);
|
||||
|
||||
void set_next_sibling(LayoutNode* node) { m_next_sibling = node; }
|
||||
void set_previous_sibling(LayoutNode* node) { m_previous_sibling = node; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue