mirror of
https://github.com/servo/servo.git
synced 2025-08-04 21:20:23 +01:00
Rename WrapperCache to Reflector.
I think the abstraction from the raw JSObject is still probably worthwhile for now.
This commit is contained in:
parent
0a0599ad9b
commit
2cbe2d7ce9
24 changed files with 81 additions and 81 deletions
|
@ -4,7 +4,7 @@
|
|||
|
||||
use dom::bindings::codegen::MouseEventBinding;
|
||||
use dom::bindings::utils::{ErrorResult, Fallible, DOMString};
|
||||
use dom::bindings::utils::{Reflectable, WrapperCache, BindingObject, DerivedWrapper};
|
||||
use dom::bindings::utils::{Reflectable, Reflector, BindingObject, DerivedWrapper};
|
||||
use dom::eventtarget::EventTarget;
|
||||
use dom::uievent::UIEvent;
|
||||
use dom::window::Window;
|
||||
|
@ -143,7 +143,7 @@ impl MouseEvent {
|
|||
}
|
||||
|
||||
impl Reflectable for MouseEvent {
|
||||
fn get_wrappercache(&mut self) -> &mut WrapperCache {
|
||||
fn get_wrappercache(&mut self) -> &mut Reflector {
|
||||
return self.parent.get_wrappercache()
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue