aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webgpu/gpuoutofmemoryerror.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/webgpu/gpuoutofmemoryerror.rs')
-rw-r--r--components/script/dom/webgpu/gpuoutofmemoryerror.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/webgpu/gpuoutofmemoryerror.rs b/components/script/dom/webgpu/gpuoutofmemoryerror.rs
index 01c77ef8185..92db6b080f3 100644
--- a/components/script/dom/webgpu/gpuoutofmemoryerror.rs
+++ b/components/script/dom/webgpu/gpuoutofmemoryerror.rs
@@ -14,7 +14,7 @@ use crate::dom::types::GPUError;
use crate::script_runtime::CanGc;
#[dom_struct]
-pub struct GPUOutOfMemoryError {
+pub(crate) struct GPUOutOfMemoryError {
gpu_error: GPUError,
}
@@ -25,7 +25,7 @@ impl GPUOutOfMemoryError {
}
}
- pub fn new_with_proto(
+ pub(crate) fn new_with_proto(
global: &GlobalScope,
proto: Option<HandleObject>,
message: DOMString,