aboutsummaryrefslogtreecommitdiffstats
path: root/components/style/shared_lock.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/style/shared_lock.rs')
-rw-r--r--components/style/shared_lock.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/style/shared_lock.rs b/components/style/shared_lock.rs
index 2dec153f342..360118d472e 100644
--- a/components/style/shared_lock.rs
+++ b/components/style/shared_lock.rs
@@ -10,7 +10,7 @@ use atomic_refcell::{AtomicRefCell, AtomicRef, AtomicRefMut};
use parking_lot::RwLock;
use std::cell::UnsafeCell;
use std::fmt;
-use std::sync::Arc;
+use stylearc::Arc;
/// A shared read/write lock that can protect multiple objects.
///
@@ -149,7 +149,7 @@ impl<T: fmt::Debug> fmt::Debug for Locked<T> {
impl<T> Locked<T> {
#[cfg(feature = "servo")]
fn same_lock_as(&self, lock: &SharedRwLock) -> bool {
- ::arc_ptr_eq(&self.shared_lock.arc, &lock.arc)
+ Arc::ptr_eq(&self.shared_lock.arc, &lock.arc)
}
#[cfg(feature = "gecko")]