Rename WrapperCache to Reflector.

I think the abstraction from the raw JSObject is still probably worthwhile for
now.
This commit is contained in:
Bobby Holley 2013-10-08 20:31:24 +02:00
parent 0a0599ad9b
commit 2cbe2d7ce9
24 changed files with 81 additions and 81 deletions

View file

@ -4,7 +4,7 @@
use dom::bindings::codegen::HTMLElementBinding;
use dom::bindings::utils::{DOMString, ErrorResult, Fallible};
use dom::bindings::utils::{Reflectable, BindingObject, WrapperCache};
use dom::bindings::utils::{Reflectable, BindingObject, Reflector};
use dom::element::{Element, ElementTypeId};
use dom::node::{AbstractNode, ScriptView};
use js::jsapi::{JSObject, JSContext, JSVal};
@ -149,7 +149,7 @@ impl HTMLElement {
}
impl Reflectable for HTMLElement {
fn get_wrappercache(&mut self) -> &mut WrapperCache {
fn get_wrappercache(&mut self) -> &mut Reflector {
self.element.get_wrappercache()
}