mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
refactor: propagate CanGc arguments through callers (#35591)
Signed-off-by: Auguste Baum <auguste.apple@gmail.com>
This commit is contained in:
parent
02199520f2
commit
b0b0289014
74 changed files with 403 additions and 275 deletions
|
@ -88,6 +88,7 @@ impl GPUCommandEncoder {
|
|||
pub(crate) fn create(
|
||||
device: &GPUDevice,
|
||||
descriptor: &GPUCommandEncoderDescriptor,
|
||||
can_gc: CanGc,
|
||||
) -> DomRoot<GPUCommandEncoder> {
|
||||
let command_encoder_id = device.global().wgpu_id_hub().create_command_encoder_id();
|
||||
device
|
||||
|
@ -110,7 +111,7 @@ impl GPUCommandEncoder {
|
|||
device,
|
||||
encoder,
|
||||
descriptor.parent.label.clone(),
|
||||
CanGc::note(),
|
||||
can_gc,
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue