mirror of
https://github.com/servo/servo.git
synced 2025-10-07 20:19:21 +01:00
Pass &JS<Window> to reflect_dom_object.
This commit is contained in:
parent
6291aac170
commit
23b7277b54
23 changed files with 26 additions and 26 deletions
|
@ -37,7 +37,7 @@ impl UIEvent {
|
|||
|
||||
pub fn new(window: &JS<Window>) -> JS<UIEvent> {
|
||||
reflect_dom_object(~UIEvent::new_inherited(UIEventTypeId),
|
||||
window.get(),
|
||||
window,
|
||||
UIEventBinding::Wrap)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue