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

@ -12,7 +12,7 @@ use js::glue::RUST_OBJECT_TO_JSVAL;
use std::cast;
pub struct ClientRect {
wrapper: Reflector,
reflector_: Reflector,
top: f32,
bottom: f32,
left: f32,
@ -26,7 +26,7 @@ impl ClientRect {
bottom: bottom,
left: left,
right: right,
wrapper: Reflector::new()
reflector_: Reflector::new()
};
rect.init_wrapper(cx, scope);
rect
@ -64,7 +64,7 @@ impl ClientRect {
impl Reflectable for ClientRect {
fn reflector(&mut self) -> &mut Reflector {
unsafe {
cast::transmute(&self.wrapper)
cast::transmute(&self.reflector_)
}
}