aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/display_list/items.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/layout/display_list/items.rs')
-rw-r--r--components/layout/display_list/items.rs16
1 files changed, 0 insertions, 16 deletions
diff --git a/components/layout/display_list/items.rs b/components/layout/display_list/items.rs
index de7e49d306e..f838a95bf08 100644
--- a/components/layout/display_list/items.rs
+++ b/components/layout/display_list/items.rs
@@ -137,22 +137,6 @@ impl DisplayList {
}
}
-impl gfx_traits::DisplayList for DisplayList {
- /// Analyze the display list to figure out if this may be the first
- /// contentful paint (i.e. the display list contains items of type text,
- /// image, non-white canvas or SVG). Used by metrics.
- fn is_contentful(&self) -> bool {
- for item in &self.list {
- match item {
- &DisplayItem::Text(_) | &DisplayItem::Image(_) => return true,
- _ => (),
- }
- }
-
- false
- }
-}
-
/// Display list sections that make up a stacking context. Each section here refers
/// to the steps in CSS 2.1 Appendix E.
///