mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-23 09:48:45 +00:00
Capture a weak pointer to the element and pass that to the load finish callback in HTMLImageElement::load_image(). This allows us to ignore completed loads if the <img> element is no longer around.
2.1 KiB
2.1 KiB