mirror of
https://github.com/servo/servo.git
synced 2025-08-08 06:55:31 +01:00
Propagate CanGc
arguments through callers in constructors (#35541)
Signed-off-by: Auguste Baum <auguste.apple@gmail.com>
This commit is contained in:
parent
5465bfc2af
commit
863d2ce871
260 changed files with 986 additions and 603 deletions
|
@ -63,6 +63,7 @@ impl GPURenderBundleEncoder {
|
|||
device: &GPUDevice,
|
||||
channel: WebGPU,
|
||||
label: USVString,
|
||||
can_gc: CanGc,
|
||||
) -> DomRoot<Self> {
|
||||
reflect_dom_object(
|
||||
Box::new(GPURenderBundleEncoder::new_inherited(
|
||||
|
@ -72,7 +73,7 @@ impl GPURenderBundleEncoder {
|
|||
label,
|
||||
)),
|
||||
global,
|
||||
CanGc::note(),
|
||||
can_gc,
|
||||
)
|
||||
}
|
||||
}
|
||||
|
@ -123,6 +124,7 @@ impl GPURenderBundleEncoder {
|
|||
device,
|
||||
device.channel().clone(),
|
||||
descriptor.parent.parent.label.clone(),
|
||||
CanGc::note(),
|
||||
))
|
||||
}
|
||||
}
|
||||
|
@ -277,6 +279,7 @@ impl GPURenderBundleEncoderMethods<crate::DomTypeHolder> for GPURenderBundleEnco
|
|||
self.device.id(),
|
||||
self.channel.clone(),
|
||||
descriptor.parent.label.clone(),
|
||||
CanGc::note(),
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue