1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 19:57:35 +00:00

LibWeb: Make factory method of DOMParsing::XMLSerializer fallible

This commit is contained in:
Kenneth Myhra 2023-02-19 16:51:16 +01:00 committed by Andreas Kling
parent f918d12655
commit 77e4432367
2 changed files with 3 additions and 3 deletions

View file

@ -14,7 +14,7 @@ class XMLSerializer final : public Bindings::PlatformObject {
WEB_PLATFORM_OBJECT(XMLSerializer, Bindings::PlatformObject);
public:
static JS::NonnullGCPtr<XMLSerializer> construct_impl(JS::Realm&);
static WebIDL::ExceptionOr<JS::NonnullGCPtr<XMLSerializer>> construct_impl(JS::Realm&);
virtual ~XMLSerializer() override;