mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-21 15:14:13 +00:00
LibHTML: Make parse_html_document() return a RefPtr
Parsing might not always succeed, so let's have a way to signal errors.
This commit is contained in:
@@ -5,5 +5,5 @@
|
||||
|
||||
class DocumentFragment;
|
||||
|
||||
NonnullRefPtr<Document> parse_html_document(const StringView&, const URL& = URL());
|
||||
RefPtr<Document> parse_html_document(const StringView&, const URL& = URL());
|
||||
RefPtr<DocumentFragment> parse_html_fragment(Document&, const StringView&);
|
||||
|
||||
Reference in New Issue
Block a user