aboutsummaryrefslogtreecommitdiffstats
path: root/components/gfx/paint_task.rs
diff options
context:
space:
mode:
authorAlexander Mankuta <cheba@pointlessone.org>2015-12-03 15:52:52 +0200
committerAlexander Mankuta <cheba@pointlessone.org>2015-12-03 19:46:45 +0200
commitee746e252cc9f3888f3f122f27daa64f7384aad1 (patch)
treeedb55c308dbc7a802645077f5b7b100169722119 /components/gfx/paint_task.rs
parent3995a7672d4b4ee3f2d6f348f2fe0a88964fc9c6 (diff)
downloadservo-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.rs4
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);