diff options
author | Martin Robinson <mrobinson@igalia.com> | 2016-08-11 00:29:19 +0200 |
---|---|---|
committer | Anthony Ramine <n.oxyde@gmail.com> | 2016-08-12 03:12:06 +0200 |
commit | 6259df5e2da6574f3d5951a7df2cb511d263697a (patch) | |
tree | f68cc95e507fc7e208a3c04de637c0914bcd9d60 /components/constellation/pipeline.rs | |
parent | b7facf41cbc7ba727666e95fd0c390d432d862fa (diff) | |
download | servo-6259df5e2da6574f3d5951a7df2cb511d263697a.tar.gz servo-6259df5e2da6574f3d5951a7df2cb511d263697a.zip |
Update to euclid 0.8
Diffstat (limited to 'components/constellation/pipeline.rs')
-rw-r--r-- | components/constellation/pipeline.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/components/constellation/pipeline.rs b/components/constellation/pipeline.rs index a75d083db64..677068b2d58 100644 --- a/components/constellation/pipeline.rs +++ b/components/constellation/pipeline.rs @@ -62,7 +62,7 @@ pub struct Pipeline { pub url: Url, /// The title of the most recently-loaded page. pub title: Option<String>, - pub size: Option<TypedSize2D<PagePx, f32>>, + pub size: Option<TypedSize2D<f32, PagePx>>, /// Whether this pipeline is currently running animations. Pipelines that are running /// animations cause composites to be continually scheduled. pub running_animations: bool, @@ -112,9 +112,9 @@ pub struct InitialPipelineState { /// A channel to the memory profiler thread. pub mem_profiler_chan: profile_mem::ProfilerChan, /// Information about the initial window size. - pub window_size: Option<TypedSize2D<PagePx, f32>>, + pub window_size: Option<TypedSize2D<f32, PagePx>>, /// Information about the device pixel ratio. - pub device_pixel_ratio: ScaleFactor<ViewportPx, DevicePixel, f32>, + pub device_pixel_ratio: ScaleFactor<f32, ViewportPx, DevicePixel>, /// A channel to the script thread, if applicable. If this is `Some`, /// then `parent_info` must also be `Some`. pub script_chan: Option<IpcSender<ConstellationControlMsg>>, @@ -280,7 +280,7 @@ impl Pipeline { chrome_to_paint_chan: Sender<ChromeToPaintMsg>, is_private: bool, url: Url, - size: Option<TypedSize2D<PagePx, f32>>, + size: Option<TypedSize2D<f32, PagePx>>, visible: bool) -> Pipeline { Pipeline { |