auto merge of #4512 : gutworth/servo/zero-warning, r=jdm

This fixes the following warning:
```
display_list/mod.rs:735:20: 735:30 warning: use of deprecated item: Use `Int::zero()` or `Float::zero()`., #[warn(deprecated)] on by default
display_list/mod.rs:735         let zero = Zero::zero();
                                           ^~~~~~~~~~
```
This commit is contained in:
bors-servo 2014-12-29 18:48:41 -07:00
commit de3cff0e08

View file

@ -27,6 +27,7 @@ use text::TextRun;
use azure::azure::AzFloat;
use collections::dlist::{mod, DList};
use geom::{Point2D, Rect, SideOffsets2D, Size2D, Matrix2D};
use geom::num::Zero;
use libc::uintptr_t;
use paint_task::PaintLayer;
use servo_msg::compositor_msg::LayerId;
@ -37,7 +38,6 @@ use servo_util::geometry::{mod, Au, MAX_RECT, ZERO_POINT, ZERO_RECT};
use servo_util::range::Range;
use servo_util::smallvec::{SmallVec, SmallVec8};
use std::fmt;
use std::num::Zero;
use std::slice::Items;
use style::ComputedValues;
use style::computed_values::border_style;