aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/gpucommandencoder.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/gpucommandencoder.rs')
-rw-r--r--components/script/dom/gpucommandencoder.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/gpucommandencoder.rs b/components/script/dom/gpucommandencoder.rs
index 4fbd375a579..7da1f3066d5 100644
--- a/components/script/dom/gpucommandencoder.rs
+++ b/components/script/dom/gpucommandencoder.rs
@@ -146,7 +146,7 @@ impl GPUCommandEncoderMethods for GPUCommandEncoder {
GPUComputePassEncoder::new(
&self.global(),
self.channel.clone(),
- &self,
+ self,
compute_pass,
descriptor.parent.label.clone().unwrap_or_default(),
)
@@ -245,7 +245,7 @@ impl GPUCommandEncoderMethods for GPUCommandEncoder {
&self.global(),
self.channel.clone(),
render_pass,
- &self,
+ self,
descriptor.parent.label.clone().unwrap_or_default(),
)
}