LibWeb/Streams: Move "set up transform stream" to TransformStream

This is not marked as an AO in the spec, and is a publically exported
API exposed on TransformStream.
This commit is contained in:
Shannon Booth 2024-12-08 17:35:07 +13:00 committed by Jelle Raaijmakers
parent 3f572d9ab7
commit 19bbfb023a
Notes: github-actions[bot] 2024-12-11 14:12:37 +00:00
7 changed files with 84 additions and 82 deletions

View file

@ -76,7 +76,7 @@ WebIDL::ExceptionOr<GC::Ref<CompressionStream>> CompressionStream::construct_imp
});
// 6. Set up this's transform with transformAlgorithm set to transformAlgorithm and flushAlgorithm set to flushAlgorithm.
Streams::transform_stream_set_up(stream->m_transform, transform_algorithm, flush_algorithm);
stream->m_transform->set_up(transform_algorithm, flush_algorithm);
return stream;
}