aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom/htmldocument.rs
diff options
context:
space:
mode:
authorBobby Holley <bobbyholley@gmail.com>2013-10-08 20:04:29 +0200
committerBobby Holley <bobbyholley@gmail.com>2013-10-09 12:03:18 +0200
commit0a0599ad9b0c8723e94bd0889cda00d87250c64d (patch)
treed5177ad670d0f1c50c6c58d863f40619e4d48114 /src/components/script/dom/htmldocument.rs
parent77f8dba48b21e200b4b9c6d35db853581b9804bc (diff)
downloadservo-0a0599ad9b0c8723e94bd0889cda00d87250c64d.tar.gz
servo-0a0599ad9b0c8723e94bd0889cda00d87250c64d.zip
Rename CacheableWrapper to Reflectable.
Diffstat (limited to 'src/components/script/dom/htmldocument.rs')
-rw-r--r--src/components/script/dom/htmldocument.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/script/dom/htmldocument.rs b/src/components/script/dom/htmldocument.rs
index c96785bdc99..a7feb52b5fa 100644
--- a/src/components/script/dom/htmldocument.rs
+++ b/src/components/script/dom/htmldocument.rs
@@ -4,7 +4,7 @@
use dom::bindings::codegen::HTMLDocumentBinding;
use dom::bindings::utils::{DOMString, ErrorResult, Fallible, Traceable};
-use dom::bindings::utils::{CacheableWrapper, BindingObject, WrapperCache};
+use dom::bindings::utils::{Reflectable, BindingObject, WrapperCache};
use dom::document::{AbstractDocument, Document, WrappableDocument, HTML};
use dom::element::HTMLHeadElementTypeId;
use dom::htmlcollection::HTMLCollection;
@@ -200,7 +200,7 @@ impl HTMLDocument {
}
}
-impl CacheableWrapper for HTMLDocument {
+impl Reflectable for HTMLDocument {
fn get_wrappercache(&mut self) -> &mut WrapperCache {
self.parent.get_wrappercache()
}
@@ -212,7 +212,7 @@ impl CacheableWrapper for HTMLDocument {
}
impl BindingObject for HTMLDocument {
- fn GetParentObject(&self, cx: *JSContext) -> Option<@mut CacheableWrapper> {
+ fn GetParentObject(&self, cx: *JSContext) -> Option<@mut Reflectable> {
self.parent.GetParentObject(cx)
}
}