aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom/htmlcollection.rs
diff options
context:
space:
mode:
authorBobby Holley <bobbyholley@gmail.com>2013-10-09 12:01:12 +0200
committerBobby Holley <bobbyholley@gmail.com>2013-10-09 12:21:38 +0200
commit5ed8b9e83f960918d3f5f76efbf2706689c4160e (patch)
tree1d63567326f11a080eada45292ab09a15115f4bc /src/components/script/dom/htmlcollection.rs
parent92e91c58da3aee58c40e45903eee9e3fa8573e3f (diff)
downloadservo-5ed8b9e83f960918d3f5f76efbf2706689c4160e.tar.gz
servo-5ed8b9e83f960918d3f5f76efbf2706689c4160e.zip
Rename |wrapper| to |reflector_| in Reflectable implementations for DOM objects.
Diffstat (limited to 'src/components/script/dom/htmlcollection.rs')
-rw-r--r--src/components/script/dom/htmlcollection.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/script/dom/htmlcollection.rs b/src/components/script/dom/htmlcollection.rs
index cc137cd95fa..c9e51454ab7 100644
--- a/src/components/script/dom/htmlcollection.rs
+++ b/src/components/script/dom/htmlcollection.rs
@@ -15,14 +15,14 @@ use std::ptr;
pub struct HTMLCollection {
elements: ~[AbstractNode<ScriptView>],
- wrapper: Reflector
+ reflector_: Reflector
}
impl HTMLCollection {
pub fn new(elements: ~[AbstractNode<ScriptView>], cx: *JSContext, scope: *JSObject) -> @mut HTMLCollection {
let collection = @mut HTMLCollection {
elements: elements,
- wrapper: Reflector::new()
+ reflector_: Reflector::new()
};
collection.init_wrapper(cx, scope);
collection
@@ -71,7 +71,7 @@ impl BindingObject for HTMLCollection {
impl Reflectable for HTMLCollection {
fn reflector(&mut self) -> &mut Reflector {
unsafe {
- cast::transmute(&self.wrapper)
+ cast::transmute(&self.reflector_)
}
}