Tests: Remove a FIXME

This mostly works by accident now (see previous commit), but hey,
it works.
This commit is contained in:
Nico Weber 2024-05-27 20:34:58 -04:00 committed by Sam Atkins
parent 99d280a927
commit ab0219bb08
Notes: sideshowbarker 2024-07-17 20:33:50 +09:00

View File

@ -239,8 +239,7 @@ TEST_CASE(test_webp_incremental_animation)
auto rgb_bitmap_2 = TRY_OR_FAIL(create_test_rgb_bitmap());
// WebP frames can't be at odd coordinates. Make a pixel at an odd coordinate different to make sure we handle this.
// FIXME: Use Color::Red once WebPAnimationWriter::add_frame() no longer unconditionally passes true to is_alpha_used.
rgb_bitmap_2->scanline(3)[3] = Gfx::Color(Color::Transparent).value();
rgb_bitmap_2->scanline(3)[3] = Gfx::Color(Color::Red).value();
// 20 kiB is enough for two 47x33 frames.
auto stream_buffer = TRY_OR_FAIL(ByteBuffer::create_uninitialized(20 * 1024));