aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webgpu/gpucommandbuffer.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/webgpu/gpucommandbuffer.rs')
-rw-r--r--components/script/dom/webgpu/gpucommandbuffer.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/components/script/dom/webgpu/gpucommandbuffer.rs b/components/script/dom/webgpu/gpucommandbuffer.rs
index c6a6c9a934d..0ffc2ea7a0e 100644
--- a/components/script/dom/webgpu/gpucommandbuffer.rs
+++ b/components/script/dom/webgpu/gpucommandbuffer.rs
@@ -14,7 +14,7 @@ use crate::dom::globalscope::GlobalScope;
use crate::script_runtime::CanGc;
#[dom_struct]
-pub struct GPUCommandBuffer {
+pub(crate) struct GPUCommandBuffer {
reflector_: Reflector,
#[ignore_malloc_size_of = "defined in webgpu"]
#[no_trace]
@@ -38,7 +38,7 @@ impl GPUCommandBuffer {
}
}
- pub fn new(
+ pub(crate) fn new(
global: &GlobalScope,
channel: WebGPU,
command_buffer: WebGPUCommandBuffer,
@@ -72,7 +72,7 @@ impl Drop for GPUCommandBuffer {
}
impl GPUCommandBuffer {
- pub fn id(&self) -> WebGPUCommandBuffer {
+ pub(crate) fn id(&self) -> WebGPUCommandBuffer {
self.command_buffer
}
}