mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Upgrade rustc to d3c49d2140fc65e8bb7d7cf25bfe74dda6ce5ecf/rustc-1.0.0-dev.
This commit is contained in:
parent
65d4b12bf2
commit
5f15eb5fbf
140 changed files with 1420 additions and 1222 deletions
|
@ -16,7 +16,7 @@ use incremental::{self, RESOLVE_GENERATED_CONTENT};
|
|||
use text::TextRunScanner;
|
||||
|
||||
use gfx::display_list::OpaqueNode;
|
||||
use std::collections::{DList, HashMap};
|
||||
use std::collections::{LinkedList, HashMap};
|
||||
use std::sync::Arc;
|
||||
use style::computed_values::content::ContentItem;
|
||||
use style::computed_values::{display, list_style_type};
|
||||
|
@ -421,7 +421,7 @@ fn render_text(layout_context: &LayoutContext,
|
|||
style: Arc<ComputedValues>,
|
||||
string: String)
|
||||
-> SpecificFragmentInfo {
|
||||
let mut fragments = DList::new();
|
||||
let mut fragments = LinkedList::new();
|
||||
let info = SpecificFragmentInfo::UnscannedText(UnscannedTextFragmentInfo::from_text(string));
|
||||
fragments.push_back(Fragment::from_opaque_node_and_style(node,
|
||||
style,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue