mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 17:17:44 +00:00
LibWeb: Make factory method of DOM::DOMImplementation fallible
This commit is contained in:
parent
a5ad8b2959
commit
b9c5828fe6
3 changed files with 4 additions and 4 deletions
|
@ -17,7 +17,7 @@ class DOMImplementation final : public Bindings::PlatformObject {
|
|||
WEB_PLATFORM_OBJECT(DOMImplementation, Bindings::PlatformObject);
|
||||
|
||||
public:
|
||||
static JS::NonnullGCPtr<DOMImplementation> create(Document&);
|
||||
static WebIDL::ExceptionOr<JS::NonnullGCPtr<DOMImplementation>> create(Document&);
|
||||
virtual ~DOMImplementation();
|
||||
|
||||
WebIDL::ExceptionOr<JS::NonnullGCPtr<Document>> create_document(DeprecatedString const&, DeprecatedString const&, JS::GCPtr<DocumentType>) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue