diff options
Diffstat (limited to 'components/script/dom/webgpu/gpusupportedlimits.rs')
-rw-r--r-- | components/script/dom/webgpu/gpusupportedlimits.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/webgpu/gpusupportedlimits.rs b/components/script/dom/webgpu/gpusupportedlimits.rs index 6eaaa3de304..a444b58d8b5 100644 --- a/components/script/dom/webgpu/gpusupportedlimits.rs +++ b/components/script/dom/webgpu/gpusupportedlimits.rs @@ -29,8 +29,8 @@ impl GPUSupportedLimits { } } - pub(crate) fn new(global: &GlobalScope, limits: Limits) -> DomRoot<Self> { - reflect_dom_object(Box::new(Self::new_inherited(limits)), global, CanGc::note()) + pub(crate) fn new(global: &GlobalScope, limits: Limits, can_gc: CanGc) -> DomRoot<Self> { + reflect_dom_object(Box::new(Self::new_inherited(limits)), global, can_gc) } } |