mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
Replaced ZERO_POINT with Point2D::zero()
This commit is contained in:
parent
3995a7672d
commit
ee746e252c
7 changed files with 12 additions and 21 deletions
|
@ -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());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue