diff options
author | Keegan McAllister <kmcallister@mozilla.com> | 2013-08-09 13:24:10 -0700 |
---|---|---|
committer | Keegan McAllister <kmcallister@mozilla.com> | 2013-08-15 13:55:40 -0700 |
commit | be061a9aa0384fc36b42f4f8902b6c8cb76d30cc (patch) | |
tree | 4ede58c0b6442422f720684686cd4715dc143d2c /src/components/script/dom/node.rs | |
parent | ffe60ea02704c0bd4545a194bff3f2feafd0133c (diff) | |
download | servo-be061a9aa0384fc36b42f4f8902b6c8cb76d30cc.tar.gz servo-be061a9aa0384fc36b42f4f8902b6c8cb76d30cc.zip |
Library changes
Diffstat (limited to 'src/components/script/dom/node.rs')
-rw-r--r-- | src/components/script/dom/node.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/script/dom/node.rs b/src/components/script/dom/node.rs index 236df0f3732..bee3dac63d7 100644 --- a/src/components/script/dom/node.rs +++ b/src/components/script/dom/node.rs @@ -250,7 +250,7 @@ impl<'self, View> AbstractNode<View> { /// allowed to call this. This is wildly unsafe and is therefore marked as such. pub unsafe fn unsafe_layout_data<T>(self) -> @mut T { do self.with_base |base| { - transmute(base.layout_data.get()) + transmute(base.layout_data.unwrap()) } } /// Returns true if this node has layout data and false otherwise. |