Images 💾

Last commit ⭐

commit 41a3c19cfecd490fb2a14a8365d8ad051c604669
Author:     Aliaksandr Kalenik <kalenik.aliaksandr@gmail.com>
AuthorDate: Tue Dec 12 20:07:19 2023 +0100
Commit:     Andreas Kling <kling@serenityos.org>
CommitDate: Tue Dec 12 23:01:08 2023 +0100

    LibWeb: Make HTML::DecodedImageData to be GC-allocated
    
    This change fixes GC-leak caused by following mutual dependency:
    - SVGDecodedImageData owns JS::Handle for Page.
    - SVGDecodedImageData is owned by visited objects.
    by making everything inherited from HTML::DecodedImageData and
    ListOfAvailableImages to be GC-allocated.
    
    Generally, if visited object has a handle, very likely we leak
    everything visited from object in a handle.