aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/parallel.rs
diff options
context:
space:
mode:
authorMs2ger <Ms2ger@gmail.com>2015-11-16 19:24:11 +0100
committerMs2ger <Ms2ger@gmail.com>2015-11-18 15:00:58 +0100
commit5ec1cdea9b3e0b07a417bdba5487c7368367bda6 (patch)
treeb4d4029b6160950ee1d3fb51a6e252e5484e3618 /components/layout/parallel.rs
parentde23fef9cac266b58ece5a44cf0415c8322c18d5 (diff)
downloadservo-5ec1cdea9b3e0b07a417bdba5487c7368367bda6.tar.gz
servo-5ec1cdea9b3e0b07a417bdba5487c7368367bda6.zip
Remove dead code from layout.
Diffstat (limited to 'components/layout/parallel.rs')
-rw-r--r--components/layout/parallel.rs12
1 files changed, 0 insertions, 12 deletions
diff --git a/components/layout/parallel.rs b/components/layout/parallel.rs
index 658ce8030d6..1b1f4056706 100644
--- a/components/layout/parallel.rs
+++ b/components/layout/parallel.rs
@@ -44,12 +44,6 @@ fn null_unsafe_flow() -> UnsafeFlow {
(0, 0)
}
-pub fn owned_flow_to_unsafe_flow(flow: *const FlowRef) -> UnsafeFlow {
- unsafe {
- mem::transmute::<&Flow, UnsafeFlow>(&**flow)
- }
-}
-
pub fn mut_owned_flow_to_unsafe_flow(flow: *mut FlowRef) -> UnsafeFlow {
unsafe {
mem::transmute::<&Flow, UnsafeFlow>(&**flow)
@@ -62,12 +56,6 @@ pub fn borrowed_flow_to_unsafe_flow(flow: &Flow) -> UnsafeFlow {
}
}
-pub fn mut_borrowed_flow_to_unsafe_flow(flow: &mut Flow) -> UnsafeFlow {
- unsafe {
- mem::transmute::<&Flow, UnsafeFlow>(flow)
- }
-}
-
/// Information that we need stored in each DOM node.
pub struct DomParallelInfo {
/// The number of children that still need work done.