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:
parent
77b9fa89dd
commit
90b1354688
188 changed files with 562 additions and 562 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue