diff options
author | Bobby Holley <bobbyholley@gmail.com> | 2013-10-08 20:04:29 +0200 |
---|---|---|
committer | Bobby Holley <bobbyholley@gmail.com> | 2013-10-09 12:03:18 +0200 |
commit | 0a0599ad9b0c8723e94bd0889cda00d87250c64d (patch) | |
tree | d5177ad670d0f1c50c6c58d863f40619e4d48114 /src/components/script/dom/bindings/element.rs | |
parent | 77f8dba48b21e200b4b9c6d35db853581b9804bc (diff) | |
download | servo-0a0599ad9b0c8723e94bd0889cda00d87250c64d.tar.gz servo-0a0599ad9b0c8723e94bd0889cda00d87250c64d.zip |
Rename CacheableWrapper to Reflectable.
Diffstat (limited to 'src/components/script/dom/bindings/element.rs')
-rw-r--r-- | src/components/script/dom/bindings/element.rs | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/components/script/dom/bindings/element.rs b/src/components/script/dom/bindings/element.rs index 98479fa6556..4dd4495756a 100644 --- a/src/components/script/dom/bindings/element.rs +++ b/src/components/script/dom/bindings/element.rs @@ -4,14 +4,14 @@ use dom::types::*; use dom::bindings::codegen::*; -use dom::bindings::utils::{BindingObject, WrapperCache, CacheableWrapper, Traceable}; +use dom::bindings::utils::{BindingObject, WrapperCache, Reflectable, Traceable}; use dom::node::ScriptView; use js::jsapi::{JSContext, JSObject, JSTracer}; macro_rules! generate_cacheable_wrapper( ($name: path, $wrap: path) => ( - impl CacheableWrapper for $name { + impl Reflectable for $name { fn get_wrappercache(&mut self) -> &mut WrapperCache { self.element.get_wrappercache() } @@ -26,7 +26,7 @@ macro_rules! generate_cacheable_wrapper( macro_rules! generate_cacheable_wrapper_htmlelement( ($name: path, $wrap: path) => ( - impl CacheableWrapper for $name { + impl Reflectable for $name { fn get_wrappercache(&mut self) -> &mut WrapperCache { self.htmlelement.get_wrappercache() } @@ -41,7 +41,7 @@ macro_rules! generate_cacheable_wrapper_htmlelement( macro_rules! generate_cacheable_wrapper_node( ($name: path, $wrap: path) => ( - impl CacheableWrapper for $name { + impl Reflectable for $name { fn get_wrappercache(&mut self) -> &mut WrapperCache { self.node.get_wrappercache() } @@ -57,7 +57,7 @@ macro_rules! generate_cacheable_wrapper_node( macro_rules! generate_binding_object( ($name: path) => ( impl BindingObject for $name { - fn GetParentObject(&self, cx: *JSContext) -> Option<@mut CacheableWrapper> { + fn GetParentObject(&self, cx: *JSContext) -> Option<@mut Reflectable> { self.element.GetParentObject(cx) } } @@ -67,7 +67,7 @@ macro_rules! generate_binding_object( macro_rules! generate_binding_object_htmlelement( ($name: path) => ( impl BindingObject for $name { - fn GetParentObject(&self, cx: *JSContext) -> Option<@mut CacheableWrapper> { + fn GetParentObject(&self, cx: *JSContext) -> Option<@mut Reflectable> { self.htmlelement.GetParentObject(cx) } } @@ -77,7 +77,7 @@ macro_rules! generate_binding_object_htmlelement( macro_rules! generate_binding_object_node( ($name: path) => ( impl BindingObject for $name { - fn GetParentObject(&self, cx: *JSContext) -> Option<@mut CacheableWrapper> { + fn GetParentObject(&self, cx: *JSContext) -> Option<@mut Reflectable> { self.node.GetParentObject(cx) } } |