aboutsummaryrefslogtreecommitdiffstats
path: root/components/gfx/paint_context.rs
diff options
context:
space:
mode:
authorecoal95 <ecoal95@gmail.com>2015-05-20 10:29:08 +0200
committerecoal95 <ecoal95@gmail.com>2015-05-20 19:10:50 +0200
commit3350522306ee087f892108ee82aeb9d58ee2363d (patch)
treeada64dc1475a8c881414585ac50808ee917aeee6 /components/gfx/paint_context.rs
parent64810583093dadfacbda942562853af1ae82e34e (diff)
downloadservo-3350522306ee087f892108ee82aeb9d58ee2363d.tar.gz
servo-3350522306ee087f892108ee82aeb9d58ee2363d.zip
Layerize canvas
Note that this keeps using readback right now, `NativeSurface` painting will be implemented soon. Also see https://github.com/servo/servo/issues/6142
Diffstat (limited to 'components/gfx/paint_context.rs')
-rw-r--r--components/gfx/paint_context.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/gfx/paint_context.rs b/components/gfx/paint_context.rs
index 24e7f1f7958..490e3ae3f6a 100644
--- a/components/gfx/paint_context.rs
+++ b/components/gfx/paint_context.rs
@@ -4,7 +4,7 @@
//! Painting of display lists using Moz2D/Azure.
-use color;
+use gfx_traits::color;
use display_list::TextOrientation::{SidewaysLeft, SidewaysRight, Upright};
use display_list::{BLUR_INFLATION_FACTOR, BorderRadii, BoxShadowClipMode, ClippingRegion};
use display_list::{TextDisplayItem};