diff options
Diffstat (limited to 'components/script/dom/keyboardevent.rs')
-rw-r--r-- | components/script/dom/keyboardevent.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/keyboardevent.rs b/components/script/dom/keyboardevent.rs index 9fea1da5b6f..86c536f69e4 100644 --- a/components/script/dom/keyboardevent.rs +++ b/components/script/dom/keyboardevent.rs @@ -84,8 +84,8 @@ impl KeyboardEvent { char_code: Option<u32>, key_code: u32) -> Root<KeyboardEvent> { let ev = KeyboardEvent::new_uninitialized(window); - ev.r().InitKeyboardEvent(type_, canBubble, cancelable, view, key_string, location, - "".to_owned(), repeat, "".to_owned()); + ev.InitKeyboardEvent(type_, canBubble, cancelable, view, key_string, location, + "".to_owned(), repeat, "".to_owned()); // FIXME(https://github.com/rust-lang/rust/issues/23338) { let ev = ev.r(); |