mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +01:00
Remove unused init_wrapper functions.
This commit is contained in:
parent
d2b57ba7c1
commit
8a9129abb8
3 changed files with 0 additions and 12 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
|
@ -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> {
|
||||||
|
|
|
@ -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> {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue