mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
refactor: add CanGc as argument to extract_size_algorithm (#35593)
Signed-off-by: Yerkebulan Tulibergenov <yerkebulan@gmail.com>
This commit is contained in:
parent
f7c1cd4635
commit
54286229ea
3 changed files with 8 additions and 5 deletions
|
@ -877,7 +877,7 @@ impl WritableStreamMethods<crate::DomTypeHolder> for WritableStream {
|
|||
let stream = WritableStream::new_with_proto(global, proto, can_gc);
|
||||
|
||||
// Let sizeAlgorithm be ! ExtractSizeAlgorithm(strategy).
|
||||
let size_algorithm = extract_size_algorithm(strategy);
|
||||
let size_algorithm = extract_size_algorithm(strategy, can_gc);
|
||||
|
||||
// Let highWaterMark be ? ExtractHighWaterMark(strategy, 1).
|
||||
let high_water_mark = extract_high_water_mark(strategy, 1.0)?;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue