summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/DOM/AccessibilityTreeNode.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibWeb/DOM/AccessibilityTreeNode.h')
-rw-r--r--Userland/Libraries/LibWeb/DOM/AccessibilityTreeNode.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Userland/Libraries/LibWeb/DOM/AccessibilityTreeNode.h b/Userland/Libraries/LibWeb/DOM/AccessibilityTreeNode.h
index bfa556b4ad..84f47be048 100644
--- a/Userland/Libraries/LibWeb/DOM/AccessibilityTreeNode.h
+++ b/Userland/Libraries/LibWeb/DOM/AccessibilityTreeNode.h
@@ -20,8 +20,8 @@ public:
static WebIDL::ExceptionOr<JS::NonnullGCPtr<AccessibilityTreeNode>> create(Document*, DOM::Node const*);
virtual ~AccessibilityTreeNode() override = default;
- JS::GCPtr<DOM::Node> value() const { return m_value; }
- void set_value(JS::GCPtr<DOM::Node> value) { m_value = value; }
+ JS::GCPtr<DOM::Node const> value() const { return m_value; }
+ void set_value(JS::GCPtr<DOM::Node const> value) { m_value = value; }
Vector<AccessibilityTreeNode*> children() const { return m_children; }
void append_child(AccessibilityTreeNode* child) { m_children.append(child); }
@@ -31,9 +31,9 @@ protected:
virtual void visit_edges(Visitor&) override;
private:
- explicit AccessibilityTreeNode(JS::GCPtr<DOM::Node>);
+ explicit AccessibilityTreeNode(JS::GCPtr<DOM::Node const>);
- JS::GCPtr<DOM::Node> m_value;
+ JS::GCPtr<DOM::Node const> m_value;
Vector<AccessibilityTreeNode*> m_children;
};