diff options
author | Brandon Fairchild <csbit32@gmail.com> | 2015-12-20 19:21:51 -0500 |
---|---|---|
committer | Brandon Fairchild <csbit32@gmail.com> | 2015-12-20 20:43:31 -0500 |
commit | 637afecec972c290dcfe036df8e3fc7ebaa2bc0d (patch) | |
tree | f9335f79930f15ecd42cc851a9ef0ccb9453016a /components/layout/layout_task.rs | |
parent | a900196b3f56fac46f86d8a8157a61f14fdca364 (diff) | |
download | servo-637afecec972c290dcfe036df8e3fc7ebaa2bc0d.tar.gz servo-637afecec972c290dcfe036df8e3fc7ebaa2bc0d.zip |
Move LayerKind and ScrollPolicy enums to gfx_traits
This also moves LayerId and LayerProperties to gfx_traits.
Fixes #8836.
Diffstat (limited to 'components/layout/layout_task.rs')
-rw-r--r-- | components/layout/layout_task.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/layout/layout_task.rs b/components/layout/layout_task.rs index 05a86a5c24d..3063690778d 100644 --- a/components/layout/layout_task.rs +++ b/components/layout/layout_task.rs @@ -28,7 +28,7 @@ use gfx::font; use gfx::font_cache_task::FontCacheTask; use gfx::font_context; use gfx::paint_task::{LayoutToPaintMsg, PaintLayer}; -use gfx_traits::color; +use gfx_traits::{color, LayerId, ScrollPolicy}; use incremental::{LayoutDamageComputation, REFLOW, REFLOW_ENTIRE_DOCUMENT, REPAINT}; use ipc_channel::ipc::{self, IpcReceiver, IpcSender}; use ipc_channel::router::ROUTER; @@ -36,7 +36,7 @@ use layout_debug; use layout_traits::LayoutTaskFactory; use log; use msg::ParseErrorReporter; -use msg::compositor_msg::{Epoch, LayerId, ScrollPolicy}; +use msg::compositor_msg::Epoch; use msg::constellation_msg::{ConstellationChan, Failure, PipelineId}; use net_traits::image_cache_task::{ImageCacheChan, ImageCacheResult, ImageCacheTask}; use parallel::{self, WorkQueueData}; |