Remove unused DisplayItem::LayeredItem.

This commit is contained in:
Ms2ger 2016-10-18 09:36:31 +02:00
parent 275278be44
commit 6d09843586
2 changed files with 0 additions and 19 deletions

View file

@ -485,9 +485,6 @@ impl WebRenderDisplayItemConverter for DisplayItem {
DisplayItem::Line(..) => {
println!("TODO DisplayItem::Line");
}
DisplayItem::LayeredItem(..) => {
panic!("Unexpected in webrender!");
}
DisplayItem::BoxShadow(ref item) => {
let rect = item.base.bounds.to_rectf();
let box_bounds = item.box_bounds.to_rectf();