diff options
author | Nico Weber <thakis@chromium.org> | 2023-02-19 06:45:20 -0500 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2023-02-19 23:46:36 +0100 |
commit | 0f0694edb1c390d980bb6a66e84d35eccddda09b (patch) | |
tree | fa3c936872d371c7f7f39f144da08948f97ea48c | |
parent | fa24f13452f4277e688fdcec9eec7540e771873c (diff) | |
download | serenity-0f0694edb1c390d980bb6a66e84d35eccddda09b.zip |
LibGfx: Remove an ICC writing FIXME, and a comment
-rw-r--r-- | Userland/Libraries/LibGfx/ICC/BinaryWriter.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Userland/Libraries/LibGfx/ICC/BinaryWriter.cpp b/Userland/Libraries/LibGfx/ICC/BinaryWriter.cpp index b15774911c..22841e4624 100644 --- a/Userland/Libraries/LibGfx/ICC/BinaryWriter.cpp +++ b/Userland/Libraries/LibGfx/ICC/BinaryWriter.cpp @@ -404,10 +404,8 @@ ErrorOr<ByteBuffer> encode(Profile const& profile) } // Omit padding after last element. - // FIXME: Is that correct? size_t total_size = offsets.last() + tag_data_bytes.last().size(); - // Leave enough room for the profile header and the tag table count. auto bytes = TRY(ByteBuffer::create_zeroed(total_size)); for (size_t i = 0; i < tag_data_bytes.size(); ++i) |