mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 23:17:46 +00:00
LibWeb: Make factory method of DOM::DocumentFragment fallible
This commit is contained in:
parent
8fbd43cb27
commit
491c18a346
2 changed files with 3 additions and 3 deletions
|
@ -19,7 +19,7 @@ class DocumentFragment
|
|||
WEB_PLATFORM_OBJECT(DocumentFragment, ParentNode);
|
||||
|
||||
public:
|
||||
static JS::NonnullGCPtr<DocumentFragment> construct_impl(JS::Realm& realm);
|
||||
static WebIDL::ExceptionOr<JS::NonnullGCPtr<DocumentFragment>> construct_impl(JS::Realm& realm);
|
||||
|
||||
virtual ~DocumentFragment() override = default;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue