mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-23 10:50:49 +00:00
LibWeb: Remove unused pointer from DOM::Text to its "owner" element
This is a leftover from an earlier implementation of text input.
This commit is contained in:
parent
ef3a86f010
commit
1a0f5d3180
Notes:
github-actions[bot]
2024-12-27 11:27:57 +00:00
Author: https://github.com/awesomekling
Commit: 1a0f5d3180
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3055
2 changed files with 0 additions and 3 deletions
|
@ -37,7 +37,6 @@ void Text::visit_edges(Cell::Visitor& visitor)
|
||||||
{
|
{
|
||||||
Base::visit_edges(visitor);
|
Base::visit_edges(visitor);
|
||||||
SlottableMixin::visit_edges(visitor);
|
SlottableMixin::visit_edges(visitor);
|
||||||
visitor.visit(m_owner);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// https://dom.spec.whatwg.org/#dom-text-text
|
// https://dom.spec.whatwg.org/#dom-text-text
|
||||||
|
|
|
@ -46,8 +46,6 @@ protected:
|
||||||
virtual void visit_edges(Cell::Visitor&) override;
|
virtual void visit_edges(Cell::Visitor&) override;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
GC::Ptr<Element> m_owner;
|
|
||||||
|
|
||||||
Optional<size_t> m_max_length {};
|
Optional<size_t> m_max_length {};
|
||||||
bool m_is_password_input { false };
|
bool m_is_password_input { false };
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue