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
|
@ -5,7 +5,7 @@
|
|||
//! DOM bindings for `CharacterData`.
|
||||
|
||||
use dom::bindings::utils::{DOMString, ErrorResult, Fallible};
|
||||
use dom::bindings::utils::{BindingObject, CacheableWrapper, WrapperCache};
|
||||
use dom::bindings::utils::{BindingObject, Reflectable, WrapperCache};
|
||||
use dom::node::{Node, NodeTypeId, ScriptView};
|
||||
use js::jsapi::{JSObject, JSContext};
|
||||
|
||||
|
@ -57,7 +57,7 @@ impl CharacterData {
|
|||
}
|
||||
}
|
||||
|
||||
impl CacheableWrapper for CharacterData {
|
||||
impl Reflectable for CharacterData {
|
||||
fn get_wrappercache(&mut self) -> &mut WrapperCache {
|
||||
self.node.get_wrappercache()
|
||||
}
|
||||
|
@ -68,7 +68,7 @@ impl CacheableWrapper for CharacterData {
|
|||
}
|
||||
|
||||
impl BindingObject for CharacterData {
|
||||
fn GetParentObject(&self, cx: *JSContext) -> Option<@mut CacheableWrapper> {
|
||||
fn GetParentObject(&self, cx: *JSContext) -> Option<@mut Reflectable> {
|
||||
self.node.GetParentObject(cx)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue