From e9f7079c7066f032ba94a91317f4aa012e18d94c Mon Sep 17 00:00:00 2001 From: Simon Sapin Date: Fri, 6 Sep 2019 17:11:36 +0200 Subject: Replace DisplayList::is_contentful with tracking during conversion to WR display lists --- components/layout_2020/display_list/items.rs | 7 ------- 1 file changed, 7 deletions(-) (limited to 'components/layout_2020/display_list/items.rs') diff --git a/components/layout_2020/display_list/items.rs b/components/layout_2020/display_list/items.rs index 68ec3fcc188..8797480329d 100644 --- a/components/layout_2020/display_list/items.rs +++ b/components/layout_2020/display_list/items.rs @@ -3,7 +3,6 @@ * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ use euclid::Vector2D; -use gfx_traits; use std::collections::HashMap; use std::f32; use webrender_api::units::LayoutPixel; @@ -14,11 +13,5 @@ pub use style::dom::OpaqueNode; #[derive(Serialize)] pub struct DisplayList {} -impl gfx_traits::DisplayList for DisplayList { - fn is_contentful(&self) -> bool { - false - } -} - /// The type of the scroll offset list. This is only populated if WebRender is in use. pub type ScrollOffsetMap = HashMap>; -- cgit v1.2.3