LibWeb: Make factory method of DOM::AbortController fallible

This commit is contained in:
Kenneth Myhra 2023-02-14 20:45:54 +01:00 committed by Linus Groh
commit 5f552ddc5c
Notes: sideshowbarker 2024-07-17 04:49:48 +09:00
2 changed files with 3 additions and 3 deletions

View file

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