aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom/documentfragment.rs
diff options
context:
space:
mode:
authorJosh Matthews <josh@joshmatthews.net>2014-04-10 22:13:08 -0400
committerJosh Matthews <josh@joshmatthews.net>2014-05-03 14:18:30 -0400
commit7daa97c7e5de3dac14b4d1c8a923448b025e3c09 (patch)
tree9f7766c799035785d75113838c5950f777b262d1 /src/components/script/dom/documentfragment.rs
parent76783b029e5e10da7fd61ab356a8f80a1eaf32e0 (diff)
downloadservo-7daa97c7e5de3dac14b4d1c8a923448b025e3c09.tar.gz
servo-7daa97c7e5de3dac14b4d1c8a923448b025e3c09.zip
Remove abstract_self.
Diffstat (limited to 'src/components/script/dom/documentfragment.rs')
-rw-r--r--src/components/script/dom/documentfragment.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/components/script/dom/documentfragment.rs b/src/components/script/dom/documentfragment.rs
index aee61d03b51..55e782406b3 100644
--- a/src/components/script/dom/documentfragment.rs
+++ b/src/components/script/dom/documentfragment.rs
@@ -49,13 +49,13 @@ impl DocumentFragment {
}
pub trait DocumentFragmentMethods {
- fn Children(&self, abstract_self: &JSRef<DocumentFragment>) -> Unrooted<HTMLCollection>;
+ fn Children(&self) -> Unrooted<HTMLCollection>;
}
impl<'a> DocumentFragmentMethods for JSRef<'a, DocumentFragment> {
- fn Children(&self, abstract_self: &JSRef<DocumentFragment>) -> Unrooted<HTMLCollection> {
+ fn Children(&self) -> Unrooted<HTMLCollection> {
let roots = RootCollection::new();
- let window = window_from_node(abstract_self).root(&roots);
- HTMLCollection::children(&window.root_ref(), NodeCast::from_ref(abstract_self))
+ let window = window_from_node(self).root(&roots);
+ HTMLCollection::children(&window.root_ref(), NodeCast::from_ref(self))
}
}