1
Fork 0
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:
Andreas Kling 2019-06-21 18:37:47 +02:00
parent 77b9fa89dd
commit 90b1354688
188 changed files with 562 additions and 562 deletions

View file

@ -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());

View file

@ -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; }