mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +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
|
@ -81,6 +81,7 @@ impl GPUBindGroup {
|
|||
pub(crate) fn create(
|
||||
device: &GPUDevice,
|
||||
descriptor: &GPUBindGroupDescriptor,
|
||||
can_gc: CanGc,
|
||||
) -> DomRoot<GPUBindGroup> {
|
||||
let entries = descriptor
|
||||
.entries
|
||||
|
@ -114,7 +115,7 @@ impl GPUBindGroup {
|
|||
device.id(),
|
||||
&descriptor.layout,
|
||||
descriptor.parent.label.clone(),
|
||||
CanGc::note(),
|
||||
can_gc,
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue