mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +01:00
Remove Reflectable::GetParentObject.
This commit is contained in:
parent
edd9c1d5eb
commit
80a6103f7d
23 changed files with 3 additions and 154 deletions
|
@ -11,8 +11,6 @@ use dom::uievent::UIEvent;
|
|||
use dom::window::Window;
|
||||
use dom::windowproxy::WindowProxy;
|
||||
|
||||
use js::jsapi::JSContext;
|
||||
|
||||
pub struct MouseEvent {
|
||||
parent: UIEvent,
|
||||
screen_x: i32,
|
||||
|
@ -151,8 +149,4 @@ impl Reflectable for MouseEvent {
|
|||
fn mut_reflector<'a>(&'a mut self) -> &'a mut Reflector {
|
||||
self.parent.mut_reflector()
|
||||
}
|
||||
|
||||
fn GetParentObject(&self, cx: *JSContext) -> Option<@mut Reflectable> {
|
||||
self.parent.GetParentObject(cx)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue