mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:17:44 +00:00
LibWeb: Add missing DOM::Position::visit_edges()
Caught by running the test suite under ASAN.
This commit is contained in:
parent
6cbcd521a2
commit
5204020d42
2 changed files with 8 additions and 0 deletions
|
@ -21,6 +21,12 @@ Position::Position(JS::GCPtr<Node> node, unsigned offset)
|
|||
{
|
||||
}
|
||||
|
||||
void Position::visit_edges(Visitor& visitor)
|
||||
{
|
||||
Base::visit_edges(visitor);
|
||||
visitor.visit(m_node);
|
||||
}
|
||||
|
||||
ErrorOr<String> Position::to_string() const
|
||||
{
|
||||
if (!node())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue