Replaced ZERO_POINT with Point2D::zero()

This commit is contained in:
Alexander Mankuta 2015-12-03 15:52:52 +02:00
parent 3995a7672d
commit ee746e252c
7 changed files with 12 additions and 21 deletions

View file

@ -59,11 +59,6 @@ pub enum PagePx {}
// originally proposed in 2002 as a standard unit of measure in Gecko.
// See https://bugzilla.mozilla.org/show_bug.cgi?id=177805 for more info.
pub static ZERO_POINT: Point2D<Au> = Point2D {
x: Au(0),
y: Au(0),
};
pub static MAX_RECT: Rect<Au> = Rect {
origin: Point2D {
x: Au(i32::MIN / 2),