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.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/webglcontextevent.rs b/components/script/dom/webglcontextevent.rs
index 71ab79a34db..195848273fe 100644
--- a/components/script/dom/webglcontextevent.rs
+++ b/components/script/dom/webglcontextevent.rs
@@ -79,7 +79,7 @@ impl WebGLContextEvent {
EventCancelable::NotCancelable
};
- Ok(WebGLContextEvent::new(global, Atom::from(&*type_),
+ Ok(WebGLContextEvent::new(global, Atom::from(type_),
bubbles,
cancelable,
status_message))