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