diff options
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) } } |