aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/animationevent.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/animationevent.rs')
-rw-r--r--components/script/dom/animationevent.rs7
1 files changed, 6 insertions, 1 deletions
diff --git a/components/script/dom/animationevent.rs b/components/script/dom/animationevent.rs
index 1a5179c7ebe..d41fff988b5 100644
--- a/components/script/dom/animationevent.rs
+++ b/components/script/dom/animationevent.rs
@@ -39,7 +39,12 @@ impl AnimationEvent {
Self::new_with_proto(window, None, type_, init)
}
- fn new_with_proto(window: &Window, proto: Option<HandleObject>, type_: Atom, init: &AnimationEventInit) -> DomRoot<AnimationEvent> {
+ fn new_with_proto(
+ window: &Window,
+ proto: Option<HandleObject>,
+ type_: Atom,
+ init: &AnimationEventInit,
+ ) -> DomRoot<AnimationEvent> {
let ev = reflect_dom_object2(Box::new(AnimationEvent::new_inherited(init)), window, proto);
{
let event = ev.upcast::<Event>();