Move some unit type definitions to style_traits.

This commit is contained in:
Ms2ger 2016-07-07 11:55:53 +02:00
parent 42e90f7db9
commit cbfe77cee1
16 changed files with 42 additions and 45 deletions

1
ports/cef/Cargo.lock generated
View file

@ -2151,7 +2151,6 @@ dependencies = [
"rustc-serialize 0.3.19 (registry+https://github.com/rust-lang/crates.io-index)",
"serde 0.7.11 (registry+https://github.com/rust-lang/crates.io-index)",
"serde_macros 0.7.11 (registry+https://github.com/rust-lang/crates.io-index)",
"util 0.0.1",
]
[[package]]

View file

@ -340,7 +340,6 @@ dependencies = [
"cssparser 0.5.6 (registry+https://github.com/rust-lang/crates.io-index)",
"euclid 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)",
"rustc-serialize 0.3.19 (registry+https://github.com/rust-lang/crates.io-index)",
"util 0.0.1",
]
[[package]]

View file

@ -16,7 +16,7 @@ use style::dom::OpaqueNode;
use style::media_queries::{Device, MediaType};
use style::parallel::WorkQueueData;
use style::workqueue::WorkQueue;
use util::geometry::ViewportPx;
use style_traits::ViewportPx;
use util::thread_state;
pub struct PerDocumentStyleData {