aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/touchevent.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/touchevent.rs')
-rw-r--r--components/script/dom/touchevent.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/components/script/dom/touchevent.rs b/components/script/dom/touchevent.rs
index fb402d6d806..ce13210842c 100644
--- a/components/script/dom/touchevent.rs
+++ b/components/script/dom/touchevent.rs
@@ -19,7 +19,7 @@ use crate::dom::window::Window;
use crate::script_runtime::CanGc;
#[dom_struct]
-pub struct TouchEvent {
+pub(crate) struct TouchEvent {
uievent: UIEvent,
touches: MutDom<TouchList>,
target_touches: MutDom<TouchList>,
@@ -48,7 +48,7 @@ impl TouchEvent {
}
}
- pub fn new_uninitialized(
+ pub(crate) fn new_uninitialized(
window: &Window,
touches: &TouchList,
changed_touches: &TouchList,
@@ -66,7 +66,7 @@ impl TouchEvent {
}
#[allow(clippy::too_many_arguments)]
- pub fn new(
+ pub(crate) fn new(
window: &Window,
type_: DOMString,
can_bubble: EventBubbles,