mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +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
|
@ -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),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue