diff options
author | Anthony Ramine <n.oxyde@gmail.com> | 2016-02-24 17:28:24 +0100 |
---|---|---|
committer | Anthony Ramine <n.oxyde@gmail.com> | 2016-02-24 17:52:17 +0100 |
commit | 0adfb080899104d4b51f6de3012ecf0558199b73 (patch) | |
tree | 60a23222f06c60f0f755158617d6256a23a1f5e2 /components/script/dom/closeevent.rs | |
parent | f7fb03518836ba45b0883aaaf3b8d38a6ff5eae1 (diff) | |
download | servo-0adfb080899104d4b51f6de3012ecf0558199b73.tar.gz servo-0adfb080899104d4b51f6de3012ecf0558199b73.zip |
Implement From<DOMString> for Atom
Diffstat (limited to 'components/script/dom/closeevent.rs')
-rw-r--r-- | components/script/dom/closeevent.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/closeevent.rs b/components/script/dom/closeevent.rs index 44635462ad2..edf0c6199df 100644 --- a/components/script/dom/closeevent.rs +++ b/components/script/dom/closeevent.rs @@ -67,7 +67,7 @@ impl CloseEvent { EventCancelable::NotCancelable }; Ok(CloseEvent::new(global, - Atom::from(&*type_), + Atom::from(type_), bubbles, cancelable, init.wasClean, |