aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webglcontextevent.rs
diff options
context:
space:
mode:
authorPatrick Shaughnessy <pshaughn@comcast.net>2019-12-11 19:06:12 -0500
committerPatrick Shaughnessy <pshaughn@comcast.net>2019-12-12 11:33:32 -0500
commitec70f426383eac8b2b87271f6e50bd9afb0632f2 (patch)
tree8188923baa35967dc03416a5c1f099cad939227c /components/script/dom/webglcontextevent.rs
parentc54d09afaf68981e11604a7122d3d79bc0a20ff3 (diff)
downloadservo-ec70f426383eac8b2b87271f6e50bd9afb0632f2.tar.gz
servo-ec70f426383eac8b2b87271f6e50bd9afb0632f2.zip
Removed createEvent cases, removed now-unused new_uninitializeds
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,