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