LibGfx+ImageDecoder: Use RefPtr<Bitmap> instead of optional

Simplify the list of bitmaps a bit by changing
`Optional<NonnullRefPtr<Bitmap>>` into `RefPtr<Bitmap>`. No functional
changes.
This commit is contained in:
Jelle Raaijmakers 2025-02-26 16:36:09 +01:00 committed by Alexander Kalenik
commit e4a5be0206
Notes: github-actions[bot] 2025-03-22 16:50:52 +00:00
4 changed files with 11 additions and 12 deletions

View file

@ -14,7 +14,7 @@
namespace Gfx {
struct BitmapSequence {
Vector<Optional<NonnullRefPtr<Gfx::Bitmap>>> bitmaps;
Vector<RefPtr<Gfx::Bitmap>> bitmaps;
};
// a struct to temporarily store bitmap fields before the buffer data is decoded