diff options
Diffstat (limited to 'src/components/script/layout_interface.rs')
-rw-r--r-- | src/components/script/layout_interface.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/script/layout_interface.rs b/src/components/script/layout_interface.rs index 4b69efea010..a91309446c7 100644 --- a/src/components/script/layout_interface.rs +++ b/src/components/script/layout_interface.rs @@ -11,10 +11,10 @@ use dom::node::{Node, LayoutDataRef}; use geom::point::Point2D; use geom::rect::Rect; -use geom::size::Size2D; +use geom::size::TypedSize2D; use libc::c_void; use script_task::{ScriptChan}; -use servo_util::geometry::Au; +use servo_util::geometry::{Au, PagePx}; use std::cmp; use std::comm::{channel, Receiver, Sender}; use style::Stylesheet; @@ -137,7 +137,7 @@ pub struct Reflow { /// The channel through which messages can be sent back to the script task. pub script_chan: ScriptChan, /// The current window size. - pub window_size: Size2D<uint>, + pub window_size: TypedSize2D<PagePx, f32>, /// The channel that we send a notification to. pub script_join_chan: Sender<()>, /// Unique identifier |