diff options
author | Alexander Mankuta <cheba@pointlessone.org> | 2015-12-03 15:52:52 +0200 |
---|---|---|
committer | Alexander Mankuta <cheba@pointlessone.org> | 2015-12-03 19:46:45 +0200 |
commit | ee746e252cc9f3888f3f122f27daa64f7384aad1 (patch) | |
tree | edb55c308dbc7a802645077f5b7b100169722119 /components/gfx/paint_task.rs | |
parent | 3995a7672d4b4ee3f2d6f348f2fe0a88964fc9c6 (diff) | |
download | servo-ee746e252cc9f3888f3f122f27daa64f7384aad1.tar.gz servo-ee746e252cc9f3888f3f122f27daa64f7384aad1.zip |
Replaced ZERO_POINT with Point2D::zero()
Diffstat (limited to 'components/gfx/paint_task.rs')
-rw-r--r-- | components/gfx/paint_task.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/gfx/paint_task.rs b/components/gfx/paint_task.rs index 6a91da70089..78e7a9e6e66 100644 --- a/components/gfx/paint_task.rs +++ b/components/gfx/paint_task.rs @@ -34,7 +34,7 @@ use std::mem as std_mem; use std::sync::Arc; use std::sync::mpsc::{Receiver, Select, Sender, channel}; use url::Url; -use util::geometry::{ExpandToPixelBoundaries, ZERO_POINT}; +use util::geometry::{ExpandToPixelBoundaries}; use util::opts; use util::task; use util::task_state; @@ -454,7 +454,7 @@ impl<C> PaintTask<C> where C: PaintListener + Send + 'static { let mut properties = Vec::new(); build_from_paint_layer(&mut properties, root_paint_layer, - &ZERO_POINT, + &Point2D::zero(), &Matrix4::identity(), &Matrix4::identity(), None); |