diff options
author | Anthony Ramine <n.oxyde@gmail.com> | 2016-06-29 17:23:04 +0200 |
---|---|---|
committer | Anthony Ramine <n.oxyde@gmail.com> | 2016-06-29 17:23:04 +0200 |
commit | 304108417665a7c4a43cedde7bb9979adeab4883 (patch) | |
tree | f440cd058f36523d1f2dddb062fefcfd3860b476 /components/layout/construct.rs | |
parent | 7b2080c5b7c933f74c0d92249a66f8602340ebbe (diff) | |
download | servo-304108417665a7c4a43cedde7bb9979adeab4883.tar.gz servo-304108417665a7c4a43cedde7bb9979adeab4883.zip |
Move util::linked_list to layout
Diffstat (limited to 'components/layout/construct.rs')
-rw-r--r-- | components/layout/construct.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/components/layout/construct.rs b/components/layout/construct.rs index 40ffdc42047..9f342b321a9 100644 --- a/components/layout/construct.rs +++ b/components/layout/construct.rs @@ -30,6 +30,7 @@ use fragment::{InlineBlockFragmentInfo, SpecificFragmentInfo, UnscannedTextFragm use gfx::display_list::OpaqueNode; use inline::{FIRST_FRAGMENT_OF_ELEMENT, InlineFlow, InlineFragmentNodeFlags}; use inline::{InlineFragmentNodeInfo, LAST_FRAGMENT_OF_ELEMENT}; +use linked_list::prepend_from; use list_item::{ListItemFlow, ListStyleTypeContent}; use multicol::{MulticolFlow, MulticolColumnFlow}; use parallel; @@ -57,7 +58,6 @@ use table_wrapper::TableWrapperFlow; use text::TextRunScanner; use traversal::PostorderNodeMutTraversal; use url::Url; -use util::linked_list; use util::opts; use wrapper::{TextContent, ThreadSafeLayoutNodeHelpers}; @@ -1805,8 +1805,7 @@ pub fn strip_ignorable_whitespace_from_start(this: &mut LinkedList<Fragment>) { } } } - linked_list::prepend_from(this, - &mut leading_fragments_consisting_of_solely_bidi_control_characters); + prepend_from(this, &mut leading_fragments_consisting_of_solely_bidi_control_characters); } /// Strips ignorable whitespace from the end of a list of fragments. |