mirror of
https://github.com/servo/servo.git
synced 2025-06-18 13:24:29 +00:00
refactor: add CanGc as argument to CountQueuingStrategy::GetSize (#35595)
Signed-off-by: Yerkebulan Tulibergenov <yerkebulan@gmail.com>
This commit is contained in:
parent
a741c48dc2
commit
d72c9f3501
2 changed files with 5 additions and 1 deletions
|
@ -61,7 +61,7 @@ impl CountQueuingStrategyMethods<crate::DomTypeHolder> for CountQueuingStrategy
|
|||
}
|
||||
|
||||
/// <https://streams.spec.whatwg.org/#cqs-size>
|
||||
fn GetSize(&self) -> Fallible<Rc<Function>> {
|
||||
fn GetSize(&self, _can_gc: CanGc) -> Fallible<Rc<Function>> {
|
||||
let global = self.global();
|
||||
// Return this's relevant global object's count queuing strategy
|
||||
// size function.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue