mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
LibWeb: Add missing calls to Base::children_changed
Also making sure that it is called at the top of the implementation for consistency.
This commit is contained in:
committed by
Tim Ledbetter
parent
22a7cd9700
commit
14eb081af8
Notes:
github-actions[bot]
2025-01-27 00:11:37 +00:00
Author: https://github.com/shannonbooth Commit: https://github.com/LadybirdBrowser/ladybird/commit/14eb081af8f Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3368 Reviewed-by: https://github.com/awesomekling Reviewed-by: https://github.com/tcl3 ✅
@@ -768,6 +768,8 @@ GC_DEFINE_ALLOCATOR(SourceElementSelector);
|
||||
|
||||
void HTMLMediaElement::children_changed()
|
||||
{
|
||||
Base::children_changed();
|
||||
|
||||
if (m_source_element_selector)
|
||||
m_source_element_selector->process_next_candidate().release_value_but_fixme_should_propagate_errors();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user