aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/display_list_builder.rs
diff options
context:
space:
mode:
authorbors-servo <metajack+bors@gmail.com>2015-09-30 15:19:33 -0600
committerbors-servo <metajack+bors@gmail.com>2015-09-30 15:19:33 -0600
commit35888e5a1d48511ec54ddf8c58f1c7b0c47c5d3c (patch)
tree06790c2e03a77bdbb988361dcf8e0b34b97dec4b /components/layout/display_list_builder.rs
parentfb6d0946cb3bac713bc20794f17a40fa7a12bc00 (diff)
parent339a3f869b539ae6da49f5d34568789d0abf3e00 (diff)
downloadservo-35888e5a1d48511ec54ddf8c58f1c7b0c47c5d3c.tar.gz
servo-35888e5a1d48511ec54ddf8c58f1c7b0c47c5d3c.zip
Auto merge of #7795 - glennw:app-units-crate, r=SimonSapin
Split Au type into separate crate, with minimal dependencies. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7795) <!-- Reviewable:end -->
Diffstat (limited to 'components/layout/display_list_builder.rs')
-rw-r--r--components/layout/display_list_builder.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/components/layout/display_list_builder.rs b/components/layout/display_list_builder.rs
index 9d4e7a5f979..94b911cae00 100644
--- a/components/layout/display_list_builder.rs
+++ b/components/layout/display_list_builder.rs
@@ -10,6 +10,7 @@
#![deny(unsafe_code)]
+use app_units::{Au, AU_PER_PX};
use azure::azure_hl::Color;
use block::BlockFlow;
use canvas_traits::{CanvasMsg, FromLayoutMsg};
@@ -56,7 +57,7 @@ use style::values::specified::{AngleOrCorner, HorizontalDirection, VerticalDirec
use table_cell::CollapsedBordersForCell;
use url::Url;
use util::cursor::Cursor;
-use util::geometry::{AU_PER_PX, Au, ZERO_POINT};
+use util::geometry::ZERO_POINT;
use util::logical_geometry::{LogicalPoint, LogicalRect, LogicalSize, WritingMode};
use util::opts;
use util::range::Range;