mirror of
https://github.com/servo/servo.git
synced 2025-07-24 15:50:21 +01:00
Move convert_label to Into implementation (#33348)
Signed-off-by: Taym <haddadi.taym@gmail.com>
This commit is contained in:
parent
bc04f94a30
commit
152e62022a
11 changed files with 23 additions and 31 deletions
|
@ -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]
|
||||
|
@ -83,7 +82,7 @@ impl GPUComputePipeline {
|
|||
let (layout, implicit_ids, _) = device.get_pipeline_layout_data(&descriptor.parent.layout);
|
||||
|
||||
let desc = ComputePipelineDescriptor {
|
||||
label: convert_label(&descriptor.parent.parent),
|
||||
label: (&descriptor.parent.parent).into(),
|
||||
layout,
|
||||
stage: (&descriptor.compute).into(),
|
||||
cache: None,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue