mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +01:00
auto merge of #1119 : Ms2ger/servo/dead-init_wrapper, r=kmcallister
This commit is contained in:
commit
ecf741f3ad
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)
|
||||
}
|
||||
|
||||
pub fn init_wrapper(@mut self, cx: *JSContext, scope: *JSObject) {
|
||||
self.wrap_object_shared(cx, scope);
|
||||
}
|
||||
|
||||
pub fn EventPhase(&self) -> u16 {
|
||||
0
|
||||
}
|
||||
|
|
|
@ -48,10 +48,6 @@ impl MouseEvent {
|
|||
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,
|
||||
type_: &DOMString,
|
||||
init: &MouseEventBinding::MouseEventInit) -> Fallible<@mut MouseEvent> {
|
||||
|
|
|
@ -39,10 +39,6 @@ impl UIEvent {
|
|||
UIEventBinding::Wrap)
|
||||
}
|
||||
|
||||
pub fn init_wrapper(@mut self, cx: *JSContext, scope: *JSObject) {
|
||||
self.wrap_object_shared(cx, scope);
|
||||
}
|
||||
|
||||
pub fn Constructor(owner: @mut Window,
|
||||
type_: &DOMString,
|
||||
init: &UIEventBinding::UIEventInit) -> Fallible<@mut UIEvent> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue