diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2016-11-07 16:31:10 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-07 16:31:10 -0600 |
commit | d8ac5100e81ccbad4b5131688b96bedb9b5e279d (patch) | |
tree | 50e4518ec7459d74feeb6b4ea15f453238af31f1 /components/layout/construct.rs | |
parent | f1c3e97fb47b6fbe1d82ebb30a38ab7afd4fe0b8 (diff) | |
parent | a2c7a9d0fb7174f9188640ba2fb5a3df7821c1a8 (diff) | |
download | servo-d8ac5100e81ccbad4b5131688b96bedb9b5e279d.tar.gz servo-d8ac5100e81ccbad4b5131688b96bedb9b5e279d.zip |
Auto merge of #14034 - bholley:more_concrete_types, r=emilio
incremental restyle: Use more concrete types in the style system
We need to hang both snapshots and restyle damage off of ElementData, and so we need them to be concrete to avoid infecting ElementData with the trait hierarchy.
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/14034)
<!-- Reviewable:end -->
Diffstat (limited to 'components/layout/construct.rs')
-rw-r--r-- | components/layout/construct.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/layout/construct.rs b/components/layout/construct.rs index 69e3a2d20d2..0b489459352 100644 --- a/components/layout/construct.rs +++ b/components/layout/construct.rs @@ -36,7 +36,6 @@ use list_item::{ListItemFlow, ListStyleTypeContent}; use multicol::{MulticolColumnFlow, MulticolFlow}; use parallel; use script_layout_interface::{LayoutElementType, LayoutNodeType, is_image_data}; -use script_layout_interface::restyle_damage::{BUBBLE_ISIZES, RECONSTRUCT_FLOW, RestyleDamage}; use script_layout_interface::wrapper_traits::{PseudoElementType, ThreadSafeLayoutElement, ThreadSafeLayoutNode}; use std::borrow::ToOwned; use std::collections::LinkedList; @@ -49,8 +48,9 @@ use style::computed_values::content::ContentItem; use style::computed_values::position; use style::context::SharedStyleContext; use style::properties::{self, ServoComputedValues}; +use style::selector_impl::{PseudoElement, RestyleDamage}; use style::selector_matching::Stylist; -use style::servo_selector_impl::PseudoElement; +use style::servo::restyle_damage::{BUBBLE_ISIZES, RECONSTRUCT_FLOW}; use table::TableFlow; use table_caption::TableCaptionFlow; use table_cell::TableCellFlow; |