mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Replaced ZERO_RECT with Rect::zero()
This commit is contained in:
parent
8b95d7b8d8
commit
546d2f564f
6 changed files with 8 additions and 22 deletions
|
@ -64,17 +64,6 @@ pub static ZERO_POINT: Point2D<Au> = Point2D {
|
|||
y: Au(0),
|
||||
};
|
||||
|
||||
pub static ZERO_RECT: Rect<Au> = Rect {
|
||||
origin: Point2D {
|
||||
x: Au(0),
|
||||
y: Au(0),
|
||||
},
|
||||
size: Size2D {
|
||||
width: Au(0),
|
||||
height: 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