1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 22:28:11 +00:00

LibWeb: Remove ReadableStreamDummy in favor of ReadableStream

This commit is contained in:
Linus Groh 2022-09-21 23:54:04 +01:00
parent 87654f5b51
commit f98ce156c4
3 changed files with 18 additions and 15 deletions

View file

@ -8,13 +8,13 @@
namespace Web::Fetch::Infrastructure {
Body::Body(ReadableStreamDummy stream)
: m_stream(stream)
Body::Body(JS::Handle<Streams::ReadableStream> stream)
: m_stream(move(stream))
{
}
Body::Body(ReadableStreamDummy stream, SourceType source, Optional<u64> length)
: m_stream(stream)
Body::Body(JS::Handle<Streams::ReadableStream> stream, SourceType source, Optional<u64> length)
: m_stream(move(stream))
, m_source(move(source))
, m_length(move(length))
{