aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/gpucommandbuffer.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/gpucommandbuffer.rs')
-rw-r--r--components/script/dom/gpucommandbuffer.rs9
1 files changed, 5 insertions, 4 deletions
diff --git a/components/script/dom/gpucommandbuffer.rs b/components/script/dom/gpucommandbuffer.rs
index 0b78559e54e..e50c350f18c 100644
--- a/components/script/dom/gpucommandbuffer.rs
+++ b/components/script/dom/gpucommandbuffer.rs
@@ -72,10 +72,11 @@ impl GPUCommandBuffer {
impl Drop for GPUCommandBuffer {
fn drop(&mut self) {
- if let Err(e) = self.channel.0.send((
- None,
- WebGPURequest::DropCommandBuffer(self.command_buffer.0),
- )) {
+ if let Err(e) = self
+ .channel
+ .0
+ .send(WebGPURequest::DropCommandBuffer(self.command_buffer.0))
+ {
warn!(
"Failed to send DropCommandBuffer({:?}) ({})",
self.command_buffer.0, e