mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Make reflect_dom_object take a &GlobalScope
This commit is contained in:
parent
093b189b48
commit
fcb59d3057
132 changed files with 488 additions and 407 deletions
|
@ -62,7 +62,7 @@ impl KeyboardEvent {
|
|||
|
||||
pub fn new_uninitialized(window: &Window) -> Root<KeyboardEvent> {
|
||||
reflect_dom_object(box KeyboardEvent::new_inherited(),
|
||||
GlobalRef::Window(window),
|
||||
window,
|
||||
KeyboardEventBinding::Wrap)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue