aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/gpubindgroup.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/gpubindgroup.rs')
-rw-r--r--components/script/dom/gpubindgroup.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/components/script/dom/gpubindgroup.rs b/components/script/dom/gpubindgroup.rs
index 2aae7174265..9c7e248853a 100644
--- a/components/script/dom/gpubindgroup.rs
+++ b/components/script/dom/gpubindgroup.rs
@@ -17,7 +17,6 @@ use crate::dom::bindings::root::{Dom, DomRoot};
use crate::dom::bindings::str::USVString;
use crate::dom::globalscope::GlobalScope;
use crate::dom::gpubindgrouplayout::GPUBindGroupLayout;
-use crate::dom::gpuconvert::convert_label;
use crate::dom::gpudevice::GPUDevice;
#[dom_struct]
@@ -86,7 +85,7 @@ impl GPUBindGroup {
.collect::<Vec<_>>();
let desc = BindGroupDescriptor {
- label: convert_label(&descriptor.parent),
+ label: (&descriptor.parent).into(),
layout: descriptor.layout.id().0,
entries: Cow::Owned(entries),
};