diff options
Diffstat (limited to 'components/script/dom/webgpu/gpudevicelostinfo.rs')
-rw-r--r-- | components/script/dom/webgpu/gpudevicelostinfo.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/webgpu/gpudevicelostinfo.rs b/components/script/dom/webgpu/gpudevicelostinfo.rs index 68bb7278061..90a2d480fba 100644 --- a/components/script/dom/webgpu/gpudevicelostinfo.rs +++ b/components/script/dom/webgpu/gpudevicelostinfo.rs @@ -16,7 +16,7 @@ use crate::dom::globalscope::GlobalScope; use crate::script_runtime::CanGc; #[dom_struct] -pub struct GPUDeviceLostInfo { +pub(crate) struct GPUDeviceLostInfo { reflector_: Reflector, message: DOMString, reason: GPUDeviceLostReason, @@ -31,7 +31,7 @@ impl GPUDeviceLostInfo { } } - pub fn new( + pub(crate) fn new( global: &GlobalScope, message: DOMString, reason: GPUDeviceLostReason, |