mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
LibCompress: Refactor gzip de/compressor using zlib
This commit is contained in:
committed by
Jelle Raaijmakers
parent
dafbe32626
commit
2baa7977a4
Notes:
github-actions[bot]
2025-03-19 12:48:46 +00:00
Author: https://github.com/devgianlu Commit: https://github.com/LadybirdBrowser/ladybird/commit/2baa7977a49 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3755 Reviewed-by: https://github.com/gmta ✅ Reviewed-by: https://github.com/trflynn89
@@ -36,7 +36,7 @@ WebIDL::ExceptionOr<GC::Ref<DecompressionStream>> DecompressionStream::construct
|
||||
case Bindings::CompressionFormat::DeflateRaw:
|
||||
return TRY(Compress::DeflateDecompressor::construct(make<LittleEndianInputBitStream>(move(input_stream))));
|
||||
case Bindings::CompressionFormat::Gzip:
|
||||
return make<Compress::GzipDecompressor>(move(input_stream));
|
||||
return TRY(Compress::GzipDecompressor::create((move(input_stream))));
|
||||
}
|
||||
|
||||
VERIFY_NOT_REACHED();
|
||||
|
||||
Reference in New Issue
Block a user