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:
parent
87654f5b51
commit
f98ce156c4
3 changed files with 18 additions and 15 deletions
|
@ -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))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue