diff options
Diffstat (limited to 'components/script/dom/animationevent.rs')
-rw-r--r-- | components/script/dom/animationevent.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/animationevent.rs b/components/script/dom/animationevent.rs index 673db954bb0..10902a9e012 100644 --- a/components/script/dom/animationevent.rs +++ b/components/script/dom/animationevent.rs @@ -20,7 +20,7 @@ use crate::dom::window::Window; use crate::script_runtime::CanGc; #[dom_struct] -pub struct AnimationEvent { +pub(crate) struct AnimationEvent { event: Event, #[no_trace] animation_name: Atom, @@ -38,7 +38,7 @@ impl AnimationEvent { } } - pub fn new( + pub(crate) fn new( window: &Window, type_: Atom, init: &AnimationEventInit, |