diff options
Diffstat (limited to 'components/script/dom/gpurenderpassencoder.rs')
-rw-r--r-- | components/script/dom/gpurenderpassencoder.rs | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/components/script/dom/gpurenderpassencoder.rs b/components/script/dom/gpurenderpassencoder.rs index a0a87ad4f4d..e650284664f 100644 --- a/components/script/dom/gpurenderpassencoder.rs +++ b/components/script/dom/gpurenderpassencoder.rs @@ -164,13 +164,10 @@ impl GPURenderPassEncoderMethods for GPURenderPassEncoder { let render_pass = self.render_pass.borrow_mut().take(); self.channel .0 - .send(( - None, - WebGPURequest::RunRenderPass { - command_encoder_id: self.command_encoder.id().0, - render_pass, - }, - )) + .send(WebGPURequest::RunRenderPass { + command_encoder_id: self.command_encoder.id().0, + render_pass, + }) .expect("Failed to send RunRenderPass"); self.command_encoder.set_state( |