mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +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::MouseEventBinding;
|
||||
use dom::bindings::utils::{ErrorResult, Fallible, DOMString};
|
||||
use dom::bindings::utils::{CacheableWrapper, WrapperCache, BindingObject, DerivedWrapper};
|
||||
use dom::bindings::utils::{Reflectable, WrapperCache, BindingObject, DerivedWrapper};
|
||||
use dom::eventtarget::EventTarget;
|
||||
use dom::uievent::UIEvent;
|
||||
use dom::window::Window;
|
||||
|
@ -142,7 +142,7 @@ impl MouseEvent {
|
|||
}
|
||||
}
|
||||
|
||||
impl CacheableWrapper for MouseEvent {
|
||||
impl Reflectable for MouseEvent {
|
||||
fn get_wrappercache(&mut self) -> &mut WrapperCache {
|
||||
return self.parent.get_wrappercache()
|
||||
}
|
||||
|
@ -154,7 +154,7 @@ impl CacheableWrapper for MouseEvent {
|
|||
}
|
||||
|
||||
impl BindingObject for MouseEvent {
|
||||
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