mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 11:49:44 +00:00
LibWeb: Move "owning element" of Animation classes into Animation
There's no need to have a virtual method here when we can just store the owning element pointer on the Animation instead.
This commit is contained in:
parent
3a10596136
commit
a0b96280e4
Notes:
github-actions[bot]
2024-09-22 04:43:15 +00:00
Author: https://github.com/AtkinsSJ
Commit: a0b96280e4
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1442
6 changed files with 14 additions and 29 deletions
|
@ -1358,6 +1358,7 @@ void Animation::visit_edges(Cell::Visitor& visitor)
|
|||
visitor.visit(m_timeline);
|
||||
visitor.visit(m_current_ready_promise);
|
||||
visitor.visit(m_current_finished_promise);
|
||||
visitor.visit(m_owning_element);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue