aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/gpurenderbundleencoder.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/gpurenderbundleencoder.rs')
-rw-r--r--components/script/dom/gpurenderbundleencoder.rs16
1 files changed, 9 insertions, 7 deletions
diff --git a/components/script/dom/gpurenderbundleencoder.rs b/components/script/dom/gpurenderbundleencoder.rs
index d227ad34ff7..7557171a9f5 100644
--- a/components/script/dom/gpurenderbundleencoder.rs
+++ b/components/script/dom/gpurenderbundleencoder.rs
@@ -195,13 +195,15 @@ impl GPURenderBundleEncoderMethods for GPURenderBundleEncoder {
self.channel
.0
- .send(WebGPURequest::RenderBundleEncoderFinish {
- render_bundle_encoder: encoder,
- descriptor: desc,
- render_bundle_id,
- device_id: self.device.id().0,
- scope_id: self.device.use_current_scope(),
- })
+ .send((
+ self.device.use_current_scope(),
+ WebGPURequest::RenderBundleEncoderFinish {
+ render_bundle_encoder: encoder,
+ descriptor: desc,
+ render_bundle_id,
+ device_id: self.device.id().0,
+ },
+ ))
.expect("Failed to send RenderBundleEncoderFinish");
let render_bundle = WebGPURenderBundle(render_bundle_id);