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

LibWeb: Make factory method of DOM::TreeWalker fallible

This commit is contained in:
Kenneth Myhra 2023-02-14 21:41:47 +01:00 committed by Linus Groh
parent 251c063897
commit 552663a2ba
3 changed files with 4 additions and 4 deletions

View file

@ -15,7 +15,7 @@ class TreeWalker final : public Bindings::PlatformObject {
WEB_PLATFORM_OBJECT(TreeWalker, Bindings::PlatformObject);
public:
static JS::NonnullGCPtr<TreeWalker> create(Node& root, unsigned what_to_show, JS::GCPtr<NodeFilter>);
static WebIDL::ExceptionOr<JS::NonnullGCPtr<TreeWalker>> create(Node& root, unsigned what_to_show, JS::GCPtr<NodeFilter>);
virtual ~TreeWalker() override;