mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 07:30:19 +00:00
LibWeb: Add missing edge visit for TextTrack in HTMLTrackElement
This commit is contained in:
parent
b7e505365c
commit
0a3082ef05
Notes:
sideshowbarker
2024-07-17 02:29:45 +09:00
Author: https://github.com/jamierocks Commit: https://github.com/LadybirdBrowser/ladybird/commit/0a3082ef05 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/432
2 changed files with 7 additions and 0 deletions
|
@ -29,6 +29,12 @@ void HTMLTrackElement::initialize(JS::Realm& realm)
|
|||
WEB_SET_PROTOTYPE_FOR_INTERFACE(HTMLTrackElement);
|
||||
}
|
||||
|
||||
void HTMLTrackElement::visit_edges(Cell::Visitor& visitor)
|
||||
{
|
||||
Base::visit_edges(visitor);
|
||||
visitor.visit(m_track);
|
||||
}
|
||||
|
||||
void HTMLTrackElement::attribute_changed(FlyString const& name, Optional<String> const& value)
|
||||
{
|
||||
HTMLElement::attribute_changed(name, value);
|
||||
|
|
|
@ -25,6 +25,7 @@ private:
|
|||
HTMLTrackElement(DOM::Document&, DOM::QualifiedName);
|
||||
|
||||
virtual void initialize(JS::Realm&) override;
|
||||
virtual void visit_edges(Cell::Visitor&) override;
|
||||
|
||||
// ^DOM::Element
|
||||
virtual void attribute_changed(FlyString const& name, Optional<String> const& value) override;
|
||||
|
|
Loading…
Reference in a new issue