mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:37:46 +00:00
LibWeb: Make factory method of DOM::AccessibilityTreeNode fallible
This commit is contained in:
parent
2c8a689390
commit
1e03aa0ece
4 changed files with 6 additions and 6 deletions
|
@ -17,7 +17,7 @@ namespace Web::DOM {
|
|||
class AccessibilityTreeNode final : public JS::Cell {
|
||||
JS_CELL(AccessibilityTreeNode, JS::Cell)
|
||||
public:
|
||||
static JS::NonnullGCPtr<AccessibilityTreeNode> create(Document*, DOM::Node const*);
|
||||
static WebIDL::ExceptionOr<JS::NonnullGCPtr<AccessibilityTreeNode>> create(Document*, DOM::Node const*);
|
||||
virtual ~AccessibilityTreeNode() override = default;
|
||||
|
||||
JS::GCPtr<DOM::Node> value() const { return m_value; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue