aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/util.rs
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2014-09-29 05:47:47 +0530
committerManish Goregaokar <manishsmail@gmail.com>2014-10-05 22:36:08 +0530
commita8f96ddfb203e404dccab139b0807137c31e32b5 (patch)
treee14ac6047e2c7ded01d5e84e56097eb8eed654a2 /components/layout/util.rs
parent5c8a45d74ee3874d39e736a89821ab139e03dc49 (diff)
downloadservo-a8f96ddfb203e404dccab139b0807137c31e32b5.tar.gz
servo-a8f96ddfb203e404dccab139b0807137c31e32b5.zip
Remove Traceable/Untraceable from node.rs
Diffstat (limited to 'components/layout/util.rs')
-rw-r--r--components/layout/util.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/components/layout/util.rs b/components/layout/util.rs
index 98a2b8d440e..6f29005e839 100644
--- a/components/layout/util.rs
+++ b/components/layout/util.rs
@@ -77,20 +77,20 @@ pub trait LayoutDataAccess {
impl<'ln> LayoutDataAccess for LayoutNode<'ln> {
#[inline(always)]
unsafe fn borrow_layout_data_unchecked(&self) -> *const Option<LayoutDataWrapper> {
- mem::transmute(self.get().layout_data.deref().borrow_unchecked())
+ mem::transmute(self.get().layout_data.borrow_unchecked())
}
#[inline(always)]
fn borrow_layout_data<'a>(&'a self) -> Ref<'a,Option<LayoutDataWrapper>> {
unsafe {
- mem::transmute(self.get().layout_data.deref().borrow())
+ mem::transmute(self.get().layout_data.borrow())
}
}
#[inline(always)]
fn mutate_layout_data<'a>(&'a self) -> RefMut<'a,Option<LayoutDataWrapper>> {
unsafe {
- mem::transmute(self.get().layout_data.deref().borrow_mut())
+ mem::transmute(self.get().layout_data.borrow_mut())
}
}
}