diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2015-12-04 11:09:59 +0530 |
---|---|---|
committer | bors-servo <lbergstrom+bors@mozilla.com> | 2015-12-04 11:09:59 +0530 |
commit | 2dbc314e2dec39b8798d4e922dd5220d32083b56 (patch) | |
tree | 861ebb11050ea8fc0c621aa523bcfa1005f1adaa /components/util/geometry.rs | |
parent | 3c0cd5eb068945860fb357c975bfbe6070eebe49 (diff) | |
parent | ee746e252cc9f3888f3f122f27daa64f7384aad1 (diff) | |
download | servo-2dbc314e2dec39b8798d4e922dd5220d32083b56.tar.gz servo-2dbc314e2dec39b8798d4e922dd5220d32083b56.zip |
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 -->
Diffstat (limited to 'components/util/geometry.rs')
-rw-r--r-- | components/util/geometry.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/components/util/geometry.rs b/components/util/geometry.rs index 4d89a817853..dc84d90b202 100644 --- a/components/util/geometry.rs +++ b/components/util/geometry.rs @@ -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), |