Remove Reflectable::GetParentObject.

This commit is contained in:
Ms2ger 2013-11-03 15:00:02 +01:00
parent edd9c1d5eb
commit 80a6103f7d
23 changed files with 3 additions and 154 deletions

View file

@ -10,8 +10,6 @@ use dom::event::{AbstractEvent, Event, EventTypeId, UIEventTypeId};
use dom::window::Window;
use dom::windowproxy::WindowProxy;
use js::jsapi::JSContext;
pub struct UIEvent {
parent: Event,
view: Option<@mut WindowProxy>,
@ -120,8 +118,4 @@ impl Reflectable for UIEvent {
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)
}
}