From b98a7f27a90b8677a63900a7feaafcd0ee840b39 Mon Sep 17 00:00:00 2001 From: Ms2ger Date: Thu, 25 Jun 2015 22:18:30 +0200 Subject: [PATCH] Remove a no-op transmute in ParallelPostorderDomTraversal. --- components/layout/parallel.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/components/layout/parallel.rs b/components/layout/parallel.rs index 9cc60f31aee..89b4e8cecea 100644 --- a/components/layout/parallel.rs +++ b/components/layout/parallel.rs @@ -12,7 +12,6 @@ use context::{LayoutContext, SharedLayoutContextWrapper, SharedLayoutContext}; use flow::{Flow, MutableFlowUtils, PreorderFlowTraversal, PostorderFlowTraversal}; use flow; use flow_ref::FlowRef; -use data::LayoutDataWrapper; use traversal::{BubbleISizes, AssignISizes, AssignBSizesAndStoreOverflow}; use traversal::{ComputeAbsolutePositions, BuildDisplayList}; use traversal::{RecalcStyleForNode, ConstructFlows}; @@ -193,8 +192,6 @@ trait ParallelPostorderDomTraversal : PostorderDomTraversal { unsafe_node = layout_node_to_unsafe_layout_node(&parent); - let parent_layout_data: &LayoutDataWrapper = - mem::transmute(parent_layout_data); if parent_layout_data .data .parallel