mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +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
|
@ -27,7 +27,7 @@ impl AttrList {
|
|||
|
||||
pub fn new(window: &JS<Window>, elem: &JS<Element>) -> JS<AttrList> {
|
||||
reflect_dom_object(~AttrList::new_inherited(window.clone(), elem.clone()),
|
||||
window.get(), AttrListBinding::Wrap)
|
||||
window, AttrListBinding::Wrap)
|
||||
}
|
||||
|
||||
pub fn Length(&self) -> u32 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue