diff options
Diffstat (limited to 'components/script/dom/gpucommandbuffer.rs')
-rw-r--r-- | components/script/dom/gpucommandbuffer.rs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/components/script/dom/gpucommandbuffer.rs b/components/script/dom/gpucommandbuffer.rs index e50c350f18c..be0edf8f2c8 100644 --- a/components/script/dom/gpucommandbuffer.rs +++ b/components/script/dom/gpucommandbuffer.rs @@ -8,7 +8,7 @@ use std::hash::{Hash, Hasher}; use dom_struct::dom_struct; use webgpu::{WebGPU, WebGPUCommandBuffer, WebGPURequest}; -use crate::dom::bindings::cell::{DomRefCell, Ref}; +use crate::dom::bindings::cell::DomRefCell; use crate::dom::bindings::codegen::Bindings::WebGPUBinding::GPUCommandBufferMethods; use crate::dom::bindings::reflector::{reflect_dom_object, Reflector}; use crate::dom::bindings::root::{Dom, DomRoot}; @@ -89,10 +89,6 @@ impl GPUCommandBuffer { pub fn id(&self) -> WebGPUCommandBuffer { self.command_buffer } - - pub fn buffers(&self) -> Ref<HashSet<Dom<GPUBuffer>>> { - self.buffers.borrow() - } } impl GPUCommandBufferMethods for GPUCommandBuffer { |