mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Companion single Color patch.
This will also update the rust-azure dependency to point to the hash where we have a single Color type. Just executed ref-tests and no regressions found.
This commit is contained in:
parent
52fc01ad37
commit
ffa62c9688
9 changed files with 31 additions and 16 deletions
|
@ -16,7 +16,6 @@
|
|||
|
||||
#![deny(unsafe_blocks)]
|
||||
|
||||
use color::Color;
|
||||
use display_list::optimizer::DisplayListOptimizer;
|
||||
use paint_context::{PaintContext, ToAzureRect};
|
||||
use self::DisplayItem::*;
|
||||
|
@ -25,6 +24,8 @@ use text::glyph::CharIndex;
|
|||
use text::TextRun;
|
||||
|
||||
use azure::azure::AzFloat;
|
||||
use azure::azure_hl::{Color};
|
||||
|
||||
use collections::dlist::{self, DList};
|
||||
use geom::{Point2D, Rect, SideOffsets2D, Size2D, Matrix2D};
|
||||
use geom::num::Zero;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue