aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webglcontextevent.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/webglcontextevent.rs')
-rw-r--r--components/script/dom/webglcontextevent.rs12
1 files changed, 0 insertions, 12 deletions
diff --git a/components/script/dom/webglcontextevent.rs b/components/script/dom/webglcontextevent.rs
index 5bc153ddccd..e4b0efe0360 100644
--- a/components/script/dom/webglcontextevent.rs
+++ b/components/script/dom/webglcontextevent.rs
@@ -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,