mirror of
https://github.com/servo/servo.git
synced 2025-06-20 15:18:58 +01:00
Rename CacheableWrapper to Reflectable.
This commit is contained in:
parent
77f8dba48b
commit
0a0599ad9b
30 changed files with 96 additions and 96 deletions
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue