aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/wrapper.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/wrapper.rs
parent5c8a45d74ee3874d39e736a89821ab139e03dc49 (diff)
downloadservo-a8f96ddfb203e404dccab139b0807137c31e32b5.tar.gz
servo-a8f96ddfb203e404dccab139b0807137c31e32b5.zip
Remove Traceable/Untraceable from node.rs
Diffstat (limited to 'components/layout/wrapper.rs')
-rw-r--r--components/layout/wrapper.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/layout/wrapper.rs b/components/layout/wrapper.rs
index 9c68c0b88a0..2c31186846c 100644
--- a/components/layout/wrapper.rs
+++ b/components/layout/wrapper.rs
@@ -667,7 +667,7 @@ impl<'ln> ThreadSafeLayoutNode<'ln> {
#[inline(always)]
pub 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())
}
}
@@ -675,7 +675,7 @@ impl<'ln> ThreadSafeLayoutNode<'ln> {
#[inline(always)]
pub 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())
}
}