mirror of
https://github.com/servo/servo.git
synced 2025-07-22 06:43:40 +01:00
Auto merge of #11930 - nox:die-util-die, r=SimonSapin
Remove some util stuff <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11930) <!-- Reviewable:end -->
This commit is contained in:
commit
dcc4697dde
9 changed files with 34 additions and 41 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue