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

@ -32,13 +32,6 @@ impl ProgressEvent {
total: total,
}
}
pub fn new_uninitialized(global: &GlobalScope) -> DomRoot<ProgressEvent> {
reflect_dom_object(
Box::new(ProgressEvent::new_inherited(false, 0, 0)),
global,
ProgressEventBinding::Wrap,
)
}
pub fn new(
global: &GlobalScope,
type_: Atom,