diff options
author | Manish Goregaokar <manishsmail@gmail.com> | 2014-09-29 05:47:47 +0530 |
---|---|---|
committer | Manish Goregaokar <manishsmail@gmail.com> | 2014-10-05 22:36:08 +0530 |
commit | a8f96ddfb203e404dccab139b0807137c31e32b5 (patch) | |
tree | e14ac6047e2c7ded01d5e84e56097eb8eed654a2 /components/layout/util.rs | |
parent | 5c8a45d74ee3874d39e736a89821ab139e03dc49 (diff) | |
download | servo-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.rs | 6 |
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()) } } } |