aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webgpu/gpupipelineerror.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/webgpu/gpupipelineerror.rs')
-rw-r--r--components/script/dom/webgpu/gpupipelineerror.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/components/script/dom/webgpu/gpupipelineerror.rs b/components/script/dom/webgpu/gpupipelineerror.rs
index ae2b57bc781..bb5dc8e3d3f 100644
--- a/components/script/dom/webgpu/gpupipelineerror.rs
+++ b/components/script/dom/webgpu/gpupipelineerror.rs
@@ -17,7 +17,7 @@ use crate::script_runtime::CanGc;
/// <https://gpuweb.github.io/gpuweb/#gpupipelineerror>
#[dom_struct]
-pub struct GPUPipelineError {
+pub(crate) struct GPUPipelineError {
exception: DOMException,
reason: GPUPipelineErrorReason,
}
@@ -30,7 +30,7 @@ impl GPUPipelineError {
}
}
- pub fn new_with_proto(
+ pub(crate) fn new_with_proto(
global: &GlobalScope,
proto: Option<HandleObject>,
message: DOMString,
@@ -45,7 +45,7 @@ impl GPUPipelineError {
)
}
- pub fn new(
+ pub(crate) fn new(
global: &GlobalScope,
message: DOMString,
reason: GPUPipelineErrorReason,