mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
CanGc fixes in several files (#33958)
* few cangc fixes Signed-off-by: L Ashwin B <lashwinib@gmail.com> * few cangc fixes Signed-off-by: L Ashwin B <lashwinib@gmail.com> --------- Signed-off-by: L Ashwin B <lashwinib@gmail.com>
This commit is contained in:
parent
1bf68567b8
commit
ebfea9b352
22 changed files with 170 additions and 129 deletions
|
@ -36,6 +36,7 @@ impl ProgressEvent {
|
|||
}
|
||||
}
|
||||
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
pub fn new(
|
||||
global: &GlobalScope,
|
||||
type_: Atom,
|
||||
|
@ -44,6 +45,7 @@ impl ProgressEvent {
|
|||
length_computable: bool,
|
||||
loaded: u64,
|
||||
total: u64,
|
||||
can_gc: CanGc,
|
||||
) -> DomRoot<ProgressEvent> {
|
||||
Self::new_with_proto(
|
||||
global,
|
||||
|
@ -54,7 +56,7 @@ impl ProgressEvent {
|
|||
length_computable,
|
||||
loaded,
|
||||
total,
|
||||
CanGc::note(),
|
||||
can_gc,
|
||||
)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue