aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout_thread/lib.rs
diff options
context:
space:
mode:
authorPyfisch <pyfisch@gmail.com>2018-03-24 21:50:15 +0100
committerPyfisch <pyfisch@gmail.com>2018-04-22 13:13:45 +0200
commitc0be925bed2296e5cf16c95925016fa18d28e177 (patch)
treeb662ba7936493d144d78b3c1609077c213636902 /components/layout_thread/lib.rs
parent782d4d4af61b7c9f60dfb494f8a5bfb6407945d2 (diff)
downloadservo-c0be925bed2296e5cf16c95925016fa18d28e177.tar.gz
servo-c0be925bed2296e5cf16c95925016fa18d28e177.zip
Move DL items from gfx to layout
Implement corner clipping. Remove PixelFormat from WebrenderImageInfo. Use WebRender text shadow. Remove MallocSizeOf and Deserialize for DL items. Closes #19649, #19680, #19802
Diffstat (limited to 'components/layout_thread/lib.rs')
-rw-r--r--components/layout_thread/lib.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/components/layout_thread/lib.rs b/components/layout_thread/lib.rs
index 2ce013f658c..9b91ae3c8ed 100644
--- a/components/layout_thread/lib.rs
+++ b/components/layout_thread/lib.rs
@@ -55,7 +55,6 @@ use dom_wrapper::{ServoLayoutElement, ServoLayoutDocument, ServoLayoutNode};
use dom_wrapper::drop_style_and_layout_data;
use euclid::{Point2D, Rect, Size2D, TypedScale, TypedSize2D};
use fnv::FnvHashMap;
-use gfx::display_list::{OpaqueNode, WebRenderImageInfo};
use gfx::font;
use gfx::font_cache_thread::FontCacheThread;
use gfx::font_context;
@@ -68,8 +67,8 @@ use layout::context::LayoutContext;
use layout::context::RegisteredPainter;
use layout::context::RegisteredPainters;
use layout::context::malloc_size_of_persistent_local_context;
-use layout::display_list::{IndexableText, ToLayout};
-use layout::display_list::WebRenderDisplayListConverter;
+use layout::display_list::{IndexableText, ToLayout, WebRenderDisplayListConverter};
+use layout::display_list::items::{OpaqueNode, WebRenderImageInfo};
use layout::flow::{Flow, GetBaseFlow, ImmutableFlowUtils, MutableOwnedFlowUtils};
use layout::flow_ref::FlowRef;
use layout::incremental::{LayoutDamageComputation, RelayoutMode, SpecialRestyleDamage};