diff options
author | Simon Sapin <simon.sapin@exyr.org> | 2014-09-25 16:01:21 +0100 |
---|---|---|
committer | Simon Sapin <simon.sapin@exyr.org> | 2014-09-29 17:41:45 +0100 |
commit | b3245fa407b8bbb9d893406bb810e122d3f5074a (patch) | |
tree | 7d9b25a99d67b54d9ac52faf6b57e36c2e0788a2 /components/script/dom/nodelist.rs | |
parent | a58324f25b6f87d005026d8f9405c9f0d89a1f74 (diff) | |
download | servo-b3245fa407b8bbb9d893406bb810e122d3f5074a.tar.gz servo-b3245fa407b8bbb9d893406bb810e122d3f5074a.zip |
Upgrade to rustc d2b30f7d3 2014-09-23
Diffstat (limited to 'components/script/dom/nodelist.rs')
-rw-r--r-- | components/script/dom/nodelist.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/nodelist.rs b/components/script/dom/nodelist.rs index 716e0dc9be1..802cc76f78d 100644 --- a/components/script/dom/nodelist.rs +++ b/components/script/dom/nodelist.rs @@ -4,7 +4,7 @@ use dom::bindings::codegen::Bindings::NodeListBinding; use dom::bindings::codegen::Bindings::NodeListBinding::NodeListMethods; -use dom::bindings::global::Window; +use dom::bindings::global; use dom::bindings::js::{JS, JSRef, Temporary}; use dom::bindings::utils::{Reflectable, Reflector, reflect_dom_object}; use dom::node::{Node, NodeHelpers}; @@ -35,7 +35,7 @@ impl NodeList { pub fn new(window: JSRef<Window>, list_type: NodeListType) -> Temporary<NodeList> { reflect_dom_object(box NodeList::new_inherited(list_type), - &Window(window), NodeListBinding::Wrap) + &global::Window(window), NodeListBinding::Wrap) } pub fn new_simple_list(window: JSRef<Window>, elements: Vec<JSRef<Node>>) -> Temporary<NodeList> { |