mirror of
https://github.com/servo/servo.git
synced 2025-10-07 20:19:21 +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::UIEventBinding;
|
||||
use dom::bindings::utils::{DOMString, Fallible};
|
||||
use dom::bindings::utils::{CacheableWrapper, WrapperCache, BindingObject, DerivedWrapper};
|
||||
use dom::bindings::utils::{Reflectable, WrapperCache, BindingObject, DerivedWrapper};
|
||||
use dom::node::{AbstractNode, ScriptView};
|
||||
use dom::event::Event;
|
||||
use dom::window::Window;
|
||||
|
@ -115,7 +115,7 @@ impl UIEvent {
|
|||
}
|
||||
}
|
||||
|
||||
impl CacheableWrapper for UIEvent {
|
||||
impl Reflectable for UIEvent {
|
||||
fn get_wrappercache(&mut self) -> &mut WrapperCache {
|
||||
return self.parent.get_wrappercache()
|
||||
}
|
||||
|
@ -127,7 +127,7 @@ impl CacheableWrapper for UIEvent {
|
|||
}
|
||||
|
||||
impl BindingObject for UIEvent {
|
||||
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