mirror of
https://github.com/servo/servo.git
synced 2025-08-02 20:20:14 +01:00
Get rid of a bunch of explicit derefs
This commit is contained in:
parent
ca56ebbb09
commit
722aa86c89
49 changed files with 340 additions and 360 deletions
|
@ -47,8 +47,8 @@ impl UIEvent {
|
|||
view: Option<&Window>,
|
||||
detail: i32) -> Root<UIEvent> {
|
||||
let ev = UIEvent::new_uninitialized(window);
|
||||
ev.r().InitUIEvent(type_, can_bubble == EventBubbles::Bubbles,
|
||||
cancelable == EventCancelable::Cancelable, view, detail);
|
||||
ev.InitUIEvent(type_, can_bubble == EventBubbles::Bubbles,
|
||||
cancelable == EventCancelable::Cancelable, view, detail);
|
||||
ev
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue