Files
ladybird/Userland/Libraries/LibGUI
Andreas Kling d01b4327fa LibGfx: Improve ImageDecoder construction
Previously, ImageDecoder::create() would return a NonnullRefPtr and
could not "fail", although the returned decoder may be "invalid" which
you then had to check anyway.

The new interface looks like this:

    static RefPtr<Gfx::ImageDecoder> try_create(ReadonlyBytes);

This simplifies ImageDecoder since it no longer has to worry about its
validity. Client code gets slightly clearer as well.
2021-07-27 01:17:05 +02:00
..
2021-07-13 17:54:37 +02:00
2021-05-10 19:09:53 +01:00
2021-04-23 16:46:57 +02:00
2021-04-29 22:23:52 +02:00
2021-06-30 11:12:25 +02:00
2021-06-30 11:12:25 +02:00
2021-07-20 03:22:28 +02:00