mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +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
|
@ -58,7 +58,7 @@ impl Attr {
|
|||
name: DOMString, namespace: Namespace,
|
||||
prefix: Option<DOMString>) -> JS<Attr> {
|
||||
let attr = Attr::new_inherited(local_name, value, name, namespace, prefix);
|
||||
reflect_dom_object(~attr, window.get(), AttrBinding::Wrap)
|
||||
reflect_dom_object(~attr, window, AttrBinding::Wrap)
|
||||
}
|
||||
|
||||
pub fn set_value(&mut self, value: DOMString) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue