LibWeb: Make factory method of URL::URLSearchParamsIterator fallible

This commit is contained in:
Kenneth Myhra 2023-02-19 13:11:31 +01:00 committed by Andreas Kling
commit b3734627a1
Notes: sideshowbarker 2024-07-16 23:53:22 +09:00
2 changed files with 3 additions and 3 deletions

View file

@ -15,7 +15,7 @@ class URLSearchParamsIterator : public Bindings::PlatformObject {
WEB_PLATFORM_OBJECT(URLSearchParamsIterator, Bindings::PlatformObject);
public:
static JS::NonnullGCPtr<URLSearchParamsIterator> create(URLSearchParams const&, JS::Object::PropertyKind iteration_kind);
static WebIDL::ExceptionOr<JS::NonnullGCPtr<URLSearchParamsIterator>> create(URLSearchParams const&, JS::Object::PropertyKind iteration_kind);
virtual ~URLSearchParamsIterator() override;