aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom/htmlelement.rs
diff options
context:
space:
mode:
authorBobby Holley <bobbyholley@gmail.com>2013-10-08 20:31:24 +0200
committerBobby Holley <bobbyholley@gmail.com>2013-10-09 12:07:41 +0200
commit2cbe2d7ce914d2bb371c62aff19c08a0b522661b (patch)
tree59f0a1e72defb2d262cbf3deca21bb378ceabf34 /src/components/script/dom/htmlelement.rs
parent0a0599ad9b0c8723e94bd0889cda00d87250c64d (diff)
downloadservo-2cbe2d7ce914d2bb371c62aff19c08a0b522661b.tar.gz
servo-2cbe2d7ce914d2bb371c62aff19c08a0b522661b.zip
Rename WrapperCache to Reflector.
I think the abstraction from the raw JSObject is still probably worthwhile for now.
Diffstat (limited to 'src/components/script/dom/htmlelement.rs')
-rw-r--r--src/components/script/dom/htmlelement.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/script/dom/htmlelement.rs b/src/components/script/dom/htmlelement.rs
index 79c79c3605e..64092156a78 100644
--- a/src/components/script/dom/htmlelement.rs
+++ b/src/components/script/dom/htmlelement.rs
@@ -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()
}