diff options
author | Josh Matthews <josh@joshmatthews.net> | 2023-05-28 23:25:41 -0400 |
---|---|---|
committer | Josh Matthews <josh@joshmatthews.net> | 2023-05-28 23:54:02 -0400 |
commit | 0e8ac3fdac83227d4bbc8d1d74ea021fa627280a (patch) | |
tree | b26c252a84a3e5e67158ef65385979fdb1174784 /components/script/dom/transitionevent.rs | |
parent | dbff26bce05d404027ef5bbfd85fb5995e4726bc (diff) | |
download | servo-0e8ac3fdac83227d4bbc8d1d74ea021fa627280a.tar.gz servo-0e8ac3fdac83227d4bbc8d1d74ea021fa627280a.zip |
Formatting.
Diffstat (limited to 'components/script/dom/transitionevent.rs')
-rw-r--r-- | components/script/dom/transitionevent.rs | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/components/script/dom/transitionevent.rs b/components/script/dom/transitionevent.rs index 9e2132b407a..cb0c6a81b11 100644 --- a/components/script/dom/transitionevent.rs +++ b/components/script/dom/transitionevent.rs @@ -50,7 +50,11 @@ impl TransitionEvent { type_: Atom, init: &TransitionEventInit, ) -> DomRoot<TransitionEvent> { - let ev = reflect_dom_object2(Box::new(TransitionEvent::new_inherited(init)), window, proto); + let ev = reflect_dom_object2( + Box::new(TransitionEvent::new_inherited(init)), + window, + proto, + ); { let event = ev.upcast::<Event>(); event.init_event(type_, init.parent.bubbles, init.parent.cancelable); @@ -65,7 +69,12 @@ impl TransitionEvent { type_: DOMString, init: &TransitionEventInit, ) -> Fallible<DomRoot<TransitionEvent>> { - Ok(TransitionEvent::new_with_proto(window, proto, Atom::from(type_), init)) + Ok(TransitionEvent::new_with_proto( + window, + proto, + Atom::from(type_), + init, + )) } } |