diff options
Diffstat (limited to 'components/script/dom/storageevent.rs')
-rw-r--r-- | components/script/dom/storageevent.rs | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/components/script/dom/storageevent.rs b/components/script/dom/storageevent.rs index 55cf51ed097..ce2c352630d 100644 --- a/components/script/dom/storageevent.rs +++ b/components/script/dom/storageevent.rs @@ -89,27 +89,19 @@ impl StorageEvent { impl<'a> StorageEventMethods for &'a StorageEvent { fn GetKey(self) -> Option<DOMString> { - // FIXME(https://github.com/rust-lang/rust/issues/23338) - let key = self.key.borrow(); - key.clone() + self.key.borrow().clone() } fn GetOldValue(self) -> Option<DOMString> { - // FIXME(https://github.com/rust-lang/rust/issues/23338) - let oldValue = self.oldValue.borrow(); - oldValue.clone() + self.oldValue.borrow().clone() } fn GetNewValue(self) -> Option<DOMString> { - // FIXME(https://github.com/rust-lang/rust/issues/23338) - let newValue = self.newValue.borrow(); - newValue.clone() + self.newValue.borrow().clone() } fn Url(self) -> DOMString { - // FIXME(https://github.com/rust-lang/rust/issues/23338) - let url = self.url.borrow(); - url.clone() + self.url.borrow().clone() } fn GetStorageArea(self) -> Option<Root<Storage>> { |