diff options
author | Tim Schumacher <timschumi@gmx.de> | 2022-12-26 15:51:51 +0100 |
---|---|---|
committer | Sam Atkins <atkinssj@gmail.com> | 2023-01-03 10:01:09 +0000 |
commit | 23a9d62f39677bd5118e1ab2b14bd0e281ca1c60 (patch) | |
tree | f973682e868bf5cebc98c9b9c83d22c9e2e19056 /Userland/Libraries/LibGfx/Font/WOFF | |
parent | edd004fe90dc1ca19187fe7673a754281240327a (diff) | |
download | serenity-23a9d62f39677bd5118e1ab2b14bd0e281ca1c60.zip |
LibCompress: Rename `Compress::Zlib` to `Compress::ZlibDecompressor`
Because that's what it is, even if it mainly relies on
`DeflateDecompressor` to do the heavy lifting.
Diffstat (limited to 'Userland/Libraries/LibGfx/Font/WOFF')
-rw-r--r-- | Userland/Libraries/LibGfx/Font/WOFF/Font.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibGfx/Font/WOFF/Font.cpp b/Userland/Libraries/LibGfx/Font/WOFF/Font.cpp index 2106b5104b..43edf15953 100644 --- a/Userland/Libraries/LibGfx/Font/WOFF/Font.cpp +++ b/Userland/Libraries/LibGfx/Font/WOFF/Font.cpp @@ -120,7 +120,7 @@ ErrorOr<NonnullRefPtr<Font>> Font::try_load_from_externally_owned_memory(Readonl if (font_buffer_offset + orig_length > font_buffer.size()) return Error::from_string_literal("Uncompressed WOFF table too big"); if (comp_length < orig_length) { - auto decompressed = Compress::Zlib::decompress_all(buffer.slice(offset, comp_length)); + auto decompressed = Compress::ZlibDecompressor::decompress_all(buffer.slice(offset, comp_length)); if (!decompressed.has_value()) return Error::from_string_literal("Could not decompress WOFF table"); if (orig_length != decompressed->size()) |