diff options
author | Alexander Mankuta <cheba@pointlessone.org> | 2015-12-03 15:52:52 +0200 |
---|---|---|
committer | Alexander Mankuta <cheba@pointlessone.org> | 2015-12-03 19:46:45 +0200 |
commit | ee746e252cc9f3888f3f122f27daa64f7384aad1 (patch) | |
tree | edb55c308dbc7a802645077f5b7b100169722119 /components/layout/sequential.rs | |
parent | 3995a7672d4b4ee3f2d6f348f2fe0a88964fc9c6 (diff) | |
download | servo-ee746e252cc9f3888f3f122f27daa64f7384aad1.tar.gz servo-ee746e252cc9f3888f3f122f27daa64f7384aad1.zip |
Replaced ZERO_POINT with Point2D::zero()
Diffstat (limited to 'components/layout/sequential.rs')
-rw-r--r-- | components/layout/sequential.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/components/layout/sequential.rs b/components/layout/sequential.rs index 275f4ed0429..5f33e5f352c 100644 --- a/components/layout/sequential.rs +++ b/components/layout/sequential.rs @@ -17,7 +17,6 @@ use traversal::{AssignBSizesAndStoreOverflow, AssignISizes}; use traversal::{BubbleISizes, ConstructFlows, RecalcStyleForNode}; use traversal::{BuildDisplayList, ComputeAbsolutePositions}; use traversal::{PostorderDomTraversal, PreorderDomTraversal}; -use util::geometry::ZERO_POINT; use util::opts; use wrapper::LayoutNode; @@ -151,5 +150,5 @@ pub fn iterate_through_flow_tree_fragment_border_boxes(root: &mut FlowRef, } } - doit(flow_ref::deref_mut(root), 0, iterator, &ZERO_POINT); + doit(flow_ref::deref_mut(root), 0, iterator, &Point2D::zero()); } |