mirror of
https://github.com/servo/servo.git
synced 2025-08-04 05:00:08 +01:00
Address review comments.
This commit is contained in:
parent
7b3e6d1f21
commit
0f2d0b1dc3
99 changed files with 388 additions and 380 deletions
|
@ -91,7 +91,7 @@ impl Event {
|
|||
init: &EventBinding::EventInit) -> Fallible<Temporary<Event>> {
|
||||
let mut ev = Event::new(global).root();
|
||||
ev.InitEvent(type_, init.bubbles, init.cancelable);
|
||||
Ok(Temporary::new_rooted(&*ev))
|
||||
Ok(Temporary::from_rooted(&*ev))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue