mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Auto merge of #7206 - glennw:fix-debug-panic, r=pcwalton
Fix "'PaintWorker' panicked at 'index 0 and/or 4 in `*` do not lie on… … character boundary" when printing display list. This whole piece of code seems a bit fragile, but it fixes the immediate problem for now. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7206) <!-- Reviewable:end -->
This commit is contained in:
commit
7a9458e530
1 changed files with 1 additions and 1 deletions
|
@ -314,7 +314,7 @@ impl StackingContext {
|
|||
|
||||
if opts::get().dump_display_list_optimized {
|
||||
println!("**** optimized display list. Tile bounds: {:?}", paint_context.page_rect);
|
||||
display_list.print_items("*".to_owned());
|
||||
display_list.print_items("####".to_owned());
|
||||
}
|
||||
|
||||
// Sort positioned children according to z-index.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue