mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-11 02:29:21 +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);
|
||||
SlottableMixin::visit_edges(visitor);
|
||||
visitor.visit(m_owner);
|
||||
}
|
||||
|
||||
// https://dom.spec.whatwg.org/#dom-text-text
|
||||
|
|
|
@ -46,8 +46,6 @@ protected:
|
|||
virtual void visit_edges(Cell::Visitor&) override;
|
||||
|
||||
private:
|
||||
GC::Ptr<Element> m_owner;
|
||||
|
||||
Optional<size_t> m_max_length {};
|
||||
bool m_is_password_input { false };
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue