1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 16:17:45 +00:00

LibWeb: Make factory method of DOM::LiveNodeList fallible

This commit is contained in:
Kenneth Myhra 2023-02-14 22:55:51 +01:00 committed by Linus Groh
parent ff875d353b
commit 24d7e688fc
3 changed files with 4 additions and 4 deletions

View file

@ -18,7 +18,7 @@ class LiveNodeList final : public NodeList {
WEB_PLATFORM_OBJECT(LiveNodeList, NodeList);
public:
static JS::NonnullGCPtr<NodeList> create(JS::Realm&, Node& root, Function<bool(Node const&)> filter);
static WebIDL::ExceptionOr<JS::NonnullGCPtr<NodeList>> create(JS::Realm&, Node& root, Function<bool(Node const&)> filter);
virtual ~LiveNodeList() override;
virtual u32 length() const override;