mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:57:44 +00:00
LibWeb: Make factory method of DOM::NodeIterator fallible
This commit is contained in:
parent
0791195843
commit
d94b59263e
3 changed files with 4 additions and 4 deletions
|
@ -16,7 +16,7 @@ class NodeIterator final : public Bindings::PlatformObject {
|
|||
WEB_PLATFORM_OBJECT(NodeIterator, Bindings::PlatformObject);
|
||||
|
||||
public:
|
||||
static JS::NonnullGCPtr<NodeIterator> create(Node& root, unsigned what_to_show, JS::GCPtr<NodeFilter>);
|
||||
static WebIDL::ExceptionOr<JS::NonnullGCPtr<NodeIterator>> create(Node& root, unsigned what_to_show, JS::GCPtr<NodeFilter>);
|
||||
|
||||
virtual ~NodeIterator() override;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue