mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-11 13:36:13 +03:00
Tests: Remove a FIXME
This mostly works by accident now (see previous commit), but hey, it works.
This commit is contained in:
parent
99d280a927
commit
ab0219bb08
Notes:
sideshowbarker
2024-07-17 20:33:50 +09:00
Author: https://github.com/nico Commit: https://github.com/SerenityOS/serenity/commit/ab0219bb08 Pull-request: https://github.com/SerenityOS/serenity/pull/24468 Reviewed-by: https://github.com/AtkinsSJ Reviewed-by: https://github.com/LucasChollet ✅
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user