diff options
author | Simon Sapin <simon.sapin@exyr.org> | 2015-01-28 21:46:51 +0100 |
---|---|---|
committer | Simon Sapin <simon.sapin@exyr.org> | 2015-01-30 15:08:29 +0100 |
commit | d13d36f57f4da7d51bfce0bcefc0d52fdacfb693 (patch) | |
tree | b3abfe85110129dcc762591aef6dc8b24b167081 /components/layout/util.rs | |
parent | 493a9e6a89d1f70374cfd27052819d61be305ba0 (diff) | |
download | servo-d13d36f57f4da7d51bfce0bcefc0d52fdacfb693.tar.gz servo-d13d36f57f4da7d51bfce0bcefc0d52fdacfb693.zip |
End the libstyle 'pub use' madness.
Diffstat (limited to 'components/layout/util.rs')
-rw-r--r-- | components/layout/util.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/layout/util.rs b/components/layout/util.rs index 206590d7c23..e04bbfbbd7e 100644 --- a/components/layout/util.rs +++ b/components/layout/util.rs @@ -17,7 +17,7 @@ use script::layout_interface::{LayoutChan, TrustedNodeAddress}; use script_traits::UntrustedNodeAddress; use std::mem; use std::cell::{Ref, RefMut}; -use style::ComputedValues; +use style::properties::ComputedValues; use style; use std::sync::Arc; @@ -176,7 +176,7 @@ pub trait ToGfxColor { fn to_gfx_color(&self) -> gfx::color::Color; } -impl ToGfxColor for style::computed_values::RGBA { +impl ToGfxColor for style::values::RGBA { fn to_gfx_color(&self) -> gfx::color::Color { gfx::color::rgba(self.red, self.green, self.blue, self.alpha) } |