diff options
author | Simon Sapin <simon.sapin@exyr.org> | 2019-09-06 17:11:36 +0200 |
---|---|---|
committer | Simon Sapin <simon.sapin@exyr.org> | 2019-09-06 17:15:53 +0200 |
commit | e9f7079c7066f032ba94a91317f4aa012e18d94c (patch) | |
tree | 4984479566176a34455ce4b01a7bb58c4a7b18e1 /components/layout_2020/display_list/items.rs | |
parent | 526619a78aa88944e917ab97c0f969eceea3ebc7 (diff) | |
download | servo-e9f7079c7066f032ba94a91317f4aa012e18d94c.tar.gz servo-e9f7079c7066f032ba94a91317f4aa012e18d94c.zip |
Replace DisplayList::is_contentful with tracking during conversion to WR display lists
Diffstat (limited to 'components/layout_2020/display_list/items.rs')
-rw-r--r-- | components/layout_2020/display_list/items.rs | 7 |
1 files changed, 0 insertions, 7 deletions
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<ExternalScrollId, Vector2D<f32, LayoutPixel>>; |