mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Removed createEvent cases, removed now-unused new_uninitializeds
This commit is contained in:
parent
c54d09afaf
commit
ec70f42638
5 changed files with 2 additions and 68 deletions
|
@ -33,14 +33,6 @@ impl CloseEvent {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn new_uninitialized(global: &GlobalScope) -> DomRoot<CloseEvent> {
|
||||
reflect_dom_object(
|
||||
Box::new(CloseEvent::new_inherited(false, 0, DOMString::new())),
|
||||
global,
|
||||
CloseEventBinding::Wrap,
|
||||
)
|
||||
}
|
||||
|
||||
pub fn new(
|
||||
global: &GlobalScope,
|
||||
type_: Atom,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue