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