Remove unused init_wrapper functions.

This commit is contained in:
Ms2ger 2013-10-23 21:20:36 +02:00
parent d2b57ba7c1
commit 8a9129abb8
3 changed files with 0 additions and 12 deletions

View file

@ -46,10 +46,6 @@ impl Event {
reflect_dom_object(@mut Event::new_inherited(type_), window, EventBinding::Wrap) reflect_dom_object(@mut Event::new_inherited(type_), window, EventBinding::Wrap)
} }
pub fn init_wrapper(@mut self, cx: *JSContext, scope: *JSObject) {
self.wrap_object_shared(cx, scope);
}
pub fn EventPhase(&self) -> u16 { pub fn EventPhase(&self) -> u16 {
0 0
} }

View file

@ -48,10 +48,6 @@ impl MouseEvent {
reflect_dom_object(ev, window, MouseEventBinding::Wrap) reflect_dom_object(ev, window, MouseEventBinding::Wrap)
} }
pub fn init_wrapper(@mut self, cx: *JSContext, scope: *JSObject) {
self.wrap_object_shared(cx, scope);
}
pub fn Constructor(owner: @mut Window, pub fn Constructor(owner: @mut Window,
type_: &DOMString, type_: &DOMString,
init: &MouseEventBinding::MouseEventInit) -> Fallible<@mut MouseEvent> { init: &MouseEventBinding::MouseEventInit) -> Fallible<@mut MouseEvent> {

View file

@ -39,10 +39,6 @@ impl UIEvent {
UIEventBinding::Wrap) UIEventBinding::Wrap)
} }
pub fn init_wrapper(@mut self, cx: *JSContext, scope: *JSObject) {
self.wrap_object_shared(cx, scope);
}
pub fn Constructor(owner: @mut Window, pub fn Constructor(owner: @mut Window,
type_: &DOMString, type_: &DOMString,
init: &UIEventBinding::UIEventInit) -> Fallible<@mut UIEvent> { init: &UIEventBinding::UIEventInit) -> Fallible<@mut UIEvent> {