diff options
Diffstat (limited to 'components/script/dom/customevent.rs')
-rw-r--r-- | components/script/dom/customevent.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/customevent.rs b/components/script/dom/customevent.rs index f4346280cb7..942253c30dc 100644 --- a/components/script/dom/customevent.rs +++ b/components/script/dom/customevent.rs @@ -57,7 +57,7 @@ impl CustomEvent { Atom::from(type_), init.parent.bubbles, init.parent.cancelable, - unsafe { HandleValue::from_marked_location(&init.detail) })) + init.detail.handle())) } fn init_custom_event(&self, |