diff options
Diffstat (limited to 'src/servo/layout/display_list_builder.rs')
-rw-r--r-- | src/servo/layout/display_list_builder.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/servo/layout/display_list_builder.rs b/src/servo/layout/display_list_builder.rs index 6e28525be34..3c928068fc3 100644 --- a/src/servo/layout/display_list_builder.rs +++ b/src/servo/layout/display_list_builder.rs @@ -118,7 +118,7 @@ fn should_convert_text_boxes_to_solid_color_background_items() { #[ignore(reason = "crashy")]; let s = Scope(); - let n = s.new_node(Text("firecracker")); + let n = s.new_node(Text(~"firecracker")); let b = n.construct_boxes(); let subbox = alt check b.kind { TextBox(subbox) { subbox } }; b.reflow_text(px_to_au(800), subbox); @@ -136,7 +136,7 @@ fn should_convert_text_boxes_to_text_items() { #[ignore(reason = "crashy")]; let s = Scope(); - let n = s.new_node(Text("firecracker")); + let n = s.new_node(Text(~"firecracker")); let b = n.construct_boxes(); let subbox = alt check b.kind { TextBox(subbox) { subbox } }; b.reflow_text(px_to_au(800), subbox); @@ -153,7 +153,7 @@ fn should_calculate_the_bounds_of_the_text_box_background_color() { #[ignore]; let s = Scope(); - let n = s.new_node(Text("firecracker")); + let n = s.new_node(Text(~"firecracker")); let b = n.construct_boxes(); let subbox = alt check b.kind { TextBox(subbox) { subbox } }; b.reflow_text(px_to_au(800), subbox); @@ -172,7 +172,7 @@ fn should_calculate_the_bounds_of_the_text_items() { #[ignore]; let s = Scope(); - let n = s.new_node(Text("firecracker")); + let n = s.new_node(Text(~"firecracker")); let b = n.construct_boxes(); let subbox = alt check b.kind { TextBox(subbox) { subbox } }; b.reflow_text(px_to_au(800), subbox); |