diff options
author | Ms2ger <ms2ger@gmail.com> | 2015-01-04 11:06:07 +0100 |
---|---|---|
committer | Ms2ger <ms2ger@gmail.com> | 2015-01-04 11:06:07 +0100 |
commit | d5cc791d3109c67f3086ed282011b8ff6299cca3 (patch) | |
tree | cce4f2e4fe69da2d273b97b15ed3a8fd5315a635 /components/layout/layout_task.rs | |
parent | dd84ae6bfb46872dfb0f0a8dca680452dadce3f0 (diff) | |
download | servo-d5cc791d3109c67f3086ed282011b8ff6299cca3.tar.gz servo-d5cc791d3109c67f3086ed282011b8ff6299cca3.zip |
Rename paint_task::Msg variants.
Diffstat (limited to 'components/layout/layout_task.rs')
-rw-r--r-- | components/layout/layout_task.rs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/components/layout/layout_task.rs b/components/layout/layout_task.rs index 596ba2a24c2..3cb4b9d5e31 100644 --- a/components/layout/layout_task.rs +++ b/components/layout/layout_task.rs @@ -28,7 +28,8 @@ use gfx::color; use gfx::display_list::{ClippingRegion, DisplayItemMetadata, DisplayList, OpaqueNode}; use gfx::display_list::{StackingContext}; use gfx::font_cache_task::FontCacheTask; -use gfx::paint_task::{mod, PaintInitMsg, PaintChan, PaintLayer}; +use gfx::paint_task::{PaintChan, PaintLayer}; +use gfx::paint_task::Msg as PaintMsg; use layout_traits::{mod, LayoutControlMsg, LayoutTaskFactory}; use log; use script::dom::bindings::js::JS; @@ -464,7 +465,7 @@ impl LayoutTask { LayoutTask::return_rw_data(possibly_locked_rw_data, rw_data); } - self.paint_chan.send(paint_task::ExitMsg(Some(response_chan), exit_type)); + self.paint_chan.send(PaintMsg::Exit(Some(response_chan), exit_type)); response_port.recv() } @@ -699,7 +700,7 @@ impl LayoutTask { debug!("Layout done!"); - self.paint_chan.send(PaintInitMsg(stacking_context)); + self.paint_chan.send(PaintMsg::PaintInit(stacking_context)); }); } |