mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Auto merge of #8796 - cheba:zero-point, r=SimonSapin
Replaced ZERO_POINT with Point2D::zero() This is a proposed in servo/servo#8792 clean up. Fixes #8792. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8796) <!-- Reviewable:end -->
This commit is contained in:
commit
2dbc314e2d
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