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:
parent
ff875d353b
commit
24d7e688fc
3 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue