Removed createEvent cases, removed now-unused new_uninitializeds

This commit is contained in:
Patrick Shaughnessy 2019-12-11 19:06:12 -05:00
parent c54d09afaf
commit ec70f42638
5 changed files with 2 additions and 68 deletions

View file

@ -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,