1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 00:48:11 +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

@ -4,7 +4,7 @@
#include <ctype.h>
#include <stdio.h>
static Retained<Element> create_element(const String& tag_name)
static NonnullRefPtr<Element> create_element(const String& tag_name)
{
return adopt(*new Element(tag_name));
}
@ -32,9 +32,9 @@ static bool is_self_closing_tag(const String& tag_name)
|| tag_name == "wbr";
}
Retained<Document> parse(const String& html)
NonnullRefPtr<Document> parse(const String& html)
{
Vector<Retained<ParentNode>> node_stack;
Vector<NonnullRefPtr<ParentNode>> node_stack;
auto doc = adopt(*new Document);
node_stack.append(doc);