mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-28 15:28:55 +00:00
LibWeb: Make Node::parent_element return GC::Ptr
This is useful for people like myself who run with debug mode to more reliably get stacktraces without spinning up a debugger.
This commit is contained in:
parent
a14481ee05
commit
3e17b1c9ae
Notes:
github-actions[bot]
2025-04-18 09:08:36 +00:00
Author: https://github.com/shannonbooth
Commit: 3e17b1c9ae
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4393
18 changed files with 48 additions and 54 deletions
|
@ -151,7 +151,7 @@ void HTMLTrackElement::start_the_track_processing_model()
|
|||
return;
|
||||
|
||||
// 3. If the text track's track element does not have a media element as a parent, return.
|
||||
if (!is<HTMLMediaElement>(parent_element()))
|
||||
if (!is<HTMLMediaElement>(parent_element().ptr()))
|
||||
return;
|
||||
|
||||
// 4. Run the remainder of these steps in parallel, allowing whatever caused these steps to run to continue.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue