Rename |wrapper| to |reflector_| in Reflectable implementations for DOM objects.

This commit is contained in:
Bobby Holley 2013-10-09 12:01:12 +02:00
parent 92e91c58da
commit 5ed8b9e83f
16 changed files with 46 additions and 46 deletions

View file

@ -21,14 +21,14 @@ enum FormDatum {
pub struct FormData {
data: HashMap<~str, FormDatum>,
wrapper: Reflector
reflector_: Reflector
}
impl FormData {
pub fn new() -> @mut FormData {
@mut FormData {
data: HashMap::new(),
wrapper: Reflector::new()
reflector_: Reflector::new()
}
}
@ -52,7 +52,7 @@ impl FormData {
impl Reflectable for FormData {
fn reflector(&mut self) -> &mut Reflector {
unsafe {
cast::transmute(&self.wrapper)
cast::transmute(&self.reflector_)
}
}