mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +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
|
@ -34,7 +34,7 @@ impl DOMImplementation {
|
|||
}
|
||||
|
||||
pub fn new(owner: &JS<Window>) -> JS<DOMImplementation> {
|
||||
reflect_dom_object(~DOMImplementation::new_inherited(owner.clone()), owner.get(),
|
||||
reflect_dom_object(~DOMImplementation::new_inherited(owner.clone()), owner,
|
||||
DOMImplementationBinding::Wrap)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue