aboutsummaryrefslogtreecommitdiffstats
path: root/components
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2016-09-28 12:05:02 +0200
committerSimon Sapin <simon.sapin@exyr.org>2016-10-04 18:35:03 +0200
commitd15ac9be55027b901eeaa2a36ec7976caf18b4cc (patch)
tree454c5217511198d9f487c89f71da85225e38c8a5 /components
parentfbde392c3df4bf681a53fe47eaaf9df2f9cc93a4 (diff)
downloadservo-d15ac9be55027b901eeaa2a36ec7976caf18b4cc.tar.gz
servo-d15ac9be55027b901eeaa2a36ec7976caf18b4cc.zip
Don’t pretend DOMRefCell is Send or Sync, after all.
Diffstat (limited to 'components')
-rw-r--r--components/script/dom/bindings/cell.rs7
1 files changed, 0 insertions, 7 deletions
diff --git a/components/script/dom/bindings/cell.rs b/components/script/dom/bindings/cell.rs
index 0f1945ef251..eef98076c0b 100644
--- a/components/script/dom/bindings/cell.rs
+++ b/components/script/dom/bindings/cell.rs
@@ -16,13 +16,6 @@ pub struct DOMRefCell<T> {
value: RefCell<T>,
}
-// FIXME: These two impls make promises that are not quite true,
-// but maybe the debug_assert! makes it close enough.
-#[allow(unsafe_code)]
-unsafe impl<T: Send> Send for DOMRefCell<T> {}
-#[allow(unsafe_code)]
-unsafe impl<T: Sync> Sync for DOMRefCell<T> {}
-
// Functionality specific to Servo's `DOMRefCell` type
// ===================================================