mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Formatting.
This commit is contained in:
parent
dbff26bce0
commit
0e8ac3fdac
81 changed files with 588 additions and 206 deletions
|
@ -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>();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue