aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webgpu/gpubindgroup.rs
diff options
context:
space:
mode:
authorDomenico Rizzo <domenico.rizzo@gmail.com>2024-12-13 16:51:59 +0100
committerGitHub <noreply@github.com>2024-12-13 15:51:59 +0000
commit0e9746fbbec1ffb843d19e44e2729d5ad2b7479a (patch)
treec3b4d2266273cac0a745609b3d711d2b40377cfc /components/script/dom/webgpu/gpubindgroup.rs
parent471d3572b77be4df31ce5d6a20d522eb9ffdbe7f (diff)
downloadservo-0e9746fbbec1ffb843d19e44e2729d5ad2b7479a.tar.gz
servo-0e9746fbbec1ffb843d19e44e2729d5ad2b7479a.zip
Add CanGc argument to reflect_dom_object (#34606)
* applied mach fmt Signed-off-by: Domenico Rizzo <domenico.rizzo@gmail.com> Refinements Signed-off-by: Domenico Rizzo <domenico.rizzo@gmail.com> Modified reflect_dom_object signature and all its calls Signed-off-by: Domenico Rizzo <domenico.rizzo@gmail.com> * fix function calls when parameter is passed up Signed-off-by: Domenico Rizzo <domenico.rizzo@gmail.com> --------- Signed-off-by: Domenico Rizzo <domenico.rizzo@gmail.com>
Diffstat (limited to 'components/script/dom/webgpu/gpubindgroup.rs')
-rw-r--r--components/script/dom/webgpu/gpubindgroup.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/components/script/dom/webgpu/gpubindgroup.rs b/components/script/dom/webgpu/gpubindgroup.rs
index bb698210c93..c542046ae27 100644
--- a/components/script/dom/webgpu/gpubindgroup.rs
+++ b/components/script/dom/webgpu/gpubindgroup.rs
@@ -19,6 +19,7 @@ use crate::dom::bindings::str::USVString;
use crate::dom::globalscope::GlobalScope;
use crate::dom::webgpu::gpubindgrouplayout::GPUBindGroupLayout;
use crate::dom::webgpu::gpudevice::GPUDevice;
+use crate::script_runtime::CanGc;
#[dom_struct]
pub struct GPUBindGroup {
@@ -65,6 +66,7 @@ impl GPUBindGroup {
channel, bind_group, device, layout, label,
)),
global,
+ CanGc::note(),
)
}
}