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
|
@ -42,18 +42,6 @@ impl WebGLContextEvent {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn new_uninitialized(window: &Window) -> DomRoot<WebGLContextEvent> {
|
||||
// according to https://www.khronos.org/registry/webgl/specs/1.0/#5.15 this is
|
||||
// additional information or the empty string if no additional information is
|
||||
// available.
|
||||
let status_message = DOMString::new();
|
||||
reflect_dom_object(
|
||||
Box::new(WebGLContextEvent::new_inherited(status_message)),
|
||||
window,
|
||||
WebGLContextEventBinding::Wrap,
|
||||
)
|
||||
}
|
||||
|
||||
pub fn new(
|
||||
window: &Window,
|
||||
type_: Atom,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue