mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
End the libstyle 'pub use' madness.
This commit is contained in:
parent
493a9e6a89
commit
d13d36f57f
39 changed files with 159 additions and 169 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue