diff options
author | Andreas Kling <kling@serenityos.org> | 2021-11-29 13:10:07 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-11-29 13:21:27 +0100 |
commit | da42c1552c9306022b14ecb86ff041a69d828be9 (patch) | |
tree | cd89973d972e2e40fbd6b6f7946c72658d36b1c4 /Userland/Libraries/LibJS/CMakeLists.txt | |
parent | dcc7d7d566a00fe2c5793baec0fd9445af1b57ab (diff) | |
download | serenity-da42c1552c9306022b14ecb86ff041a69d828be9.zip |
ImageDecoder: Fix assertion after failed decode
We were calling value() on an ErrorOr containing an error when trying
to extract the frame duration after a failed decode.
This fixes ImageDecoder crashing on various websites.
Diffstat (limited to 'Userland/Libraries/LibJS/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions