LibWeb/DOM: Remove uneccessary ExceptionOr for NodeIterator::create

This commit is contained in:
Shannon Booth 2025-01-10 16:12:34 +13:00 committed by Sam Atkins
commit 1f4c7ac62b
Notes: github-actions[bot] 2025-01-10 08:09:47 +00:00
3 changed files with 3 additions and 3 deletions

View file

@ -17,7 +17,7 @@ class NodeIterator final : public Bindings::PlatformObject {
GC_DECLARE_ALLOCATOR(NodeIterator);
public:
static WebIDL::ExceptionOr<GC::Ref<NodeIterator>> create(JS::Realm& realm, Node& root, unsigned what_to_show, GC::Ptr<NodeFilter>);
static GC::Ref<NodeIterator> create(JS::Realm& realm, Node& root, unsigned what_to_show, GC::Ptr<NodeFilter>);
virtual ~NodeIterator() override;